Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00178/0.00178, allocations: 116.4 kB / 18.5 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002218/0.002218, allocations: 208.9 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 46.9 MB / 357.4 MB, free: 10.47 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 87.86 kB / 0.4913 GB, free: 8.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1371, allocations: 65.99 MB / 0.5558 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003918/0.141, allocations: 1.942 MB / 0.5577 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1431, allocations: 1.067 MB / 0.5587 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1432, allocations: 0 / 0.5587 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.1436, allocations: 55.62 kB / 0.5588 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.1439, allocations: 99.47 kB / 0.5588 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1442, allocations: 91.66 kB / 0.5589 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.1445, allocations: 147.5 kB / 0.5591 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1446, allocations: 21.55 kB / 0.5591 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1447, allocations: 63.72 kB / 0.5592 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.753e-05/0.1448, allocations: 47.7 kB / 0.5592 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1448, allocations: 8 kB / 0.5592 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1449, allocations: 51.92 kB / 0.5593 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.068e-05/0.145, allocations: 27.91 kB / 0.5593 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.868e-05/0.145, allocations: 51.61 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1453, allocations: 151.3 kB / 0.5595 GB, free: 2.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1453, allocations: 0 / 0.5595 GB, free: 2.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1453, allocations: 0 / 0.5595 GB, free: 2.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1453, allocations: 0 / 0.5595 GB, free: 2.301 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008394/0.1462, allocations: 0.4883 MB / 0.56 GB, free: 1.758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.1462, allocations: 12.03 kB / 0.56 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.1463, allocations: 34.75 kB / 0.56 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.1463, allocations: 16.84 kB / 0.56 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.1467, allocations: 236.8 kB / 0.5602 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1468, allocations: 8.312 kB / 0.5603 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.1468, allocations: 8.375 kB / 0.5603 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.1471, allocations: 109.9 kB / 0.5604 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1471, allocations: 0 / 0.5604 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1471, allocations: 8 kB / 0.5604 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1471, allocations: 3.938 kB / 0.5604 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.1473, allocations: 51.89 kB / 0.5604 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.148, allocations: 0.5049 MB / 0.5609 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.1483, allocations: 82.66 kB / 0.561 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1485, allocations: 40.83 kB / 0.561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1485, allocations: 7.984 kB / 0.561 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.1487, allocations: 83.31 kB / 0.5611 GB, free: 428 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.1487, allocations: 0 / 0.5611 GB, free: 428 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004298/0.1491, allocations: 149.4 kB / 0.5613 GB, free: 272 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.1492, allocations: 51.41 kB / 0.5613 GB, free: 208 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.1494, allocations: 210.2 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.1495, allocations: 25.7 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1496, allocations: 120 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.1496, allocations: 31.73 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.1496, allocations: 25.72 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1498, allocations: 326.8 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/0.1499, allocations: 27.98 kB / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.15, allocations: 71.16 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.1502, allocations: 104.2 kB / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1502, allocations: 7.938 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002936/0.1505, allocations: 137.4 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1505, allocations: 4 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1505, allocations: 4 kB / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1506, allocations: 0 / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1507, allocations: 23.98 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1507, allocations: 3.938 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.1507, allocations: 20.06 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1508, allocations: 8 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001457/0.1509, allocations: 131.8 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.1509, allocations: 16.38 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.151, allocations: 17.39 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.151, allocations: 0 / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.151, allocations: 3.938 kB / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.151, allocations: 0 / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.1512, allocations: 221.5 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1512, allocations: 0 / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.1513, allocations: 15.92 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1513, allocations: 0 / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1513, allocations: 4 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1513, allocations: 0 / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1513, allocations: 3.938 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.1517, allocations: 184.9 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.1518, allocations: 93.03 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.1519, allocations: 0 / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.1519, allocations: 7.938 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.152, allocations: 15.92 kB / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.152, allocations: 4 kB / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1521, allocations: 144.4 kB / 0.5632 GB, free: 14.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1521, allocations: 0 / 0.5632 GB, free: 14.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1524, allocations: 31.92 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002114/0.1545, allocations: 1.01 MB / 0.5643 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.1548, allocations: 76.08 kB / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1548, allocations: 8 kB / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1549, allocations: 35.97 kB / 0.5644 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.1552, allocations: 46.41 kB / 0.5644 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.1576, allocations: 1.761 MB / 0.5661 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.1581, allocations: 0.7162 MB / 0.5668 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.519e-05/0.1582, allocations: 21.41 kB / 0.5669 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.755e-05/0.1583, allocations: 39.42 kB / 0.5669 GB, free: 10.31 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1583, allocations: 0 / 0.5669 GB, free: 10.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/0.192, allocations: 3.843 MB / 0.5706 GB, free: 6.535 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.268, allocations: 11.19 kB / 0.5707 GB, free: 6.527 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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: 11.391955222934484]