Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 254.1 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2351/0.2351, allocations: 46.93 MB / 357.1 MB, free: 10.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.91 kB / 0.491 GB, free: 7.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1325, allocations: 65.98 MB / 0.5554 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003223/0.1357, allocations: 1.63 MB / 0.557 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1368, allocations: 0.5705 MB / 0.5575 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.1369, allocations: 0 / 0.5575 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006423/0.1375, allocations: 455.1 kB / 0.558 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005015/0.138, allocations: 295.3 kB / 0.5582 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.1385, allocations: 167.2 kB / 0.5584 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.1388, allocations: 179.6 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1389, allocations: 8 kB / 0.5586 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.139, allocations: 115.7 kB / 0.5587 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.1394, allocations: 243.5 kB / 0.5589 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1394, allocations: 7.938 kB / 0.5589 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.401e-05/0.1395, allocations: 31.97 kB / 0.559 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.1396, allocations: 83.69 kB / 0.559 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1398, allocations: 107 kB / 0.5591 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.1401, allocations: 258.6 kB / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1401, allocations: 0 / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1401, allocations: 0 / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.1402, allocations: 0 / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000997/0.1411, allocations: 0.6607 MB / 0.56 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.1412, allocations: 11.97 kB / 0.5601 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.507e-05/0.1413, allocations: 38.73 kB / 0.5601 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.1413, allocations: 44.66 kB / 0.5601 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.1417, allocations: 308.6 kB / 0.5604 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.1417, allocations: 4.312 kB / 0.5604 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.1417, allocations: 4.375 kB / 0.5604 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1419, allocations: 57.61 kB / 0.5605 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1419, allocations: 0 / 0.5605 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.142, allocations: 4 kB / 0.5605 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.142, allocations: 0 / 0.5605 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.1421, allocations: 39.89 kB / 0.5605 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007567/0.1429, allocations: 400.8 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.143, allocations: 38.56 kB / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.863e-05/0.1431, allocations: 28.92 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1431, allocations: 0 / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.1432, allocations: 34.56 kB / 0.561 GB, free: 15.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.1432, allocations: 0 / 0.561 GB, free: 15.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003904/0.1436, allocations: 141.3 kB / 0.5611 GB, free: 15.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.1436, allocations: 51.41 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009969/0.1446, allocations: 0.866 MB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1446, allocations: 29.64 kB / 0.5621 GB, free: 14.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.1448, allocations: 220 kB / 0.5623 GB, free: 14.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1449, allocations: 19.89 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.1449, allocations: 21.72 kB / 0.5623 GB, free: 14.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.1451, allocations: 358.7 kB / 0.5627 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.1452, allocations: 19.98 kB / 0.5627 GB, free: 14.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/0.1453, allocations: 19.97 kB / 0.5627 GB, free: 14.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1454, allocations: 48.77 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1454, allocations: 4 kB / 0.5627 GB, free: 13.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002287/0.1456, allocations: 109.4 kB / 0.5629 GB, free: 13.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1456, allocations: 4 kB / 0.5629 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1456, allocations: 0 / 0.5629 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1457, allocations: 0 / 0.5629 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.5e-05/0.1458, allocations: 11.98 kB / 0.5629 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1458, allocations: 0 / 0.5629 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.194e-05/0.1458, allocations: 8 kB / 0.5629 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1458, allocations: 8 kB / 0.5629 GB, free: 13.83 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002128/0.146, allocations: 215.9 kB / 0.5631 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.1461, allocations: 39.72 kB / 0.5631 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.1464, allocations: 133 kB / 0.5633 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1464, allocations: 0 / 0.5633 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1464, allocations: 0 / 0.5633 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1464, allocations: 4 kB / 0.5633 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.1467, allocations: 297.5 kB / 0.5635 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1467, allocations: 4 kB / 0.5635 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.1468, allocations: 4 kB / 0.5635 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1468, allocations: 3.938 kB / 0.5636 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1468, allocations: 7.984 kB / 0.5636 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1468, allocations: 0 / 0.5636 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1468, allocations: 0 / 0.5636 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1471, allocations: 223.1 kB / 0.5638 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/0.1472, allocations: 108.8 kB / 0.5639 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1472, allocations: 4 kB / 0.5639 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.1473, allocations: 7.984 kB / 0.5639 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.1473, allocations: 0 / 0.5639 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1473, allocations: 0 / 0.5639 GB, free: 12.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007484/0.1481, allocations: 0.6628 MB / 0.5645 GB, free: 12.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1481, allocations: 0 / 0.5645 GB, free: 12.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1483, allocations: 19.94 kB / 0.5646 GB, free: 12.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001901/0.1502, allocations: 1.005 MB / 0.5655 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.1505, allocations: 43.91 kB / 0.5656 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1505, allocations: 0 / 0.5656 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.261e-05/0.1505, allocations: 27.97 kB / 0.5656 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.151, allocations: 15.88 kB / 0.5656 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.155, allocations: 3.225 MB / 0.5688 GB, free: 7.727 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.1555, allocations: 0.8221 MB / 0.5696 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.404e-05/0.1556, allocations: 23.8 kB / 0.5696 GB, free: 6.852 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.1557, allocations: 107.4 kB / 0.5697 GB, free: 6.75 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1557, allocations: 3.938 kB / 0.5697 GB, free: 6.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.1862, allocations: 5.853 MB / 0.5754 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.813/8.999, allocations: 11.12 kB / 0.5754 GB, free: 0.9336 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.06145925517194]