Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.001534/0.001534, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001708/0.001708, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.531/1.531, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2416/0.2416, allocations: 46.91 MB / 357.4 MB, free: 10.49 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.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 78.53 kB / 0.4913 GB, free: 26.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1156, allocations: 65.98 MB / 0.5557 GB, free: 9.035 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003393/0.119, allocations: 1.993 MB / 0.5577 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.121, allocations: 1.196 MB / 0.5589 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.432e-05/0.1211, allocations: 3.938 kB / 0.5589 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.1217, allocations: 195.4 kB / 0.5591 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.1221, allocations: 209.6 kB / 0.5593 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.1226, allocations: 159.5 kB / 0.5594 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.1229, allocations: 263.3 kB / 0.5597 GB, free: 5.008 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.123, allocations: 16.31 kB / 0.5597 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1231, allocations: 119.5 kB / 0.5598 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1233, allocations: 123.5 kB / 0.5599 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.1233, allocations: 12 kB / 0.5599 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.1235, allocations: 55.97 kB / 0.56 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.019e-05/0.1236, allocations: 47.78 kB / 0.56 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.1237, allocations: 99.33 kB / 0.5601 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.124, allocations: 247.2 kB / 0.5603 GB, free: 4.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.124, allocations: 0 / 0.5603 GB, free: 4.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.124, allocations: 4 kB / 0.5603 GB, free: 4.297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.124, allocations: 0 / 0.5603 GB, free: 4.297 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009296/0.1249, allocations: 0.5619 MB / 0.5609 GB, free: 3.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.125, allocations: 15.97 kB / 0.5609 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.125, allocations: 38.73 kB / 0.5609 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.1251, allocations: 24.8 kB / 0.561 GB, free: 3.594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.1255, allocations: 291.8 kB / 0.5612 GB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.1255, allocations: 8.375 kB / 0.5613 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1255, allocations: 4.375 kB / 0.5613 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.1258, allocations: 108.3 kB / 0.5614 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.1258, allocations: 0 / 0.5614 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1258, allocations: 0 / 0.5614 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1258, allocations: 3.984 kB / 0.5614 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1259, allocations: 43.97 kB / 0.5614 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.1265, allocations: 377.5 kB / 0.5618 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.1269, allocations: 121.2 kB / 0.5619 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.127, allocations: 37.7 kB / 0.5619 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.127, allocations: 4.016 kB / 0.5619 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.1273, allocations: 121 kB / 0.562 GB, free: 2.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.1273, allocations: 4 kB / 0.562 GB, free: 2.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005656/0.1278, allocations: 181.9 kB / 0.5622 GB, free: 2.164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.1279, allocations: 102.8 kB / 0.5623 GB, free: 2.039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004481/0.1284, allocations: 359.2 kB / 0.5627 GB, free: 1.676 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.1284, allocations: 29.7 kB / 0.5627 GB, free: 1.641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1285, allocations: 140.1 kB / 0.5628 GB, free: 1.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.1286, allocations: 27.81 kB / 0.5628 GB, free: 1.473 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.1286, allocations: 37.7 kB / 0.5629 GB, free: 1.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1288, allocations: 338.8 kB / 0.5632 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.527e-05/0.1289, allocations: 31.98 kB / 0.5632 GB, free: 1.059 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.129, allocations: 82.47 kB / 0.5633 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.1292, allocations: 99.45 kB / 0.5634 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1292, allocations: 3.938 kB / 0.5634 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002913/0.1295, allocations: 145.5 kB / 0.5636 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1295, allocations: 4 kB / 0.5636 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1295, allocations: 4 kB / 0.5636 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1295, allocations: 0 / 0.5636 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1296, allocations: 23.98 kB / 0.5636 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.1297, allocations: 15.98 kB / 0.5636 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.1297, allocations: 7.953 kB / 0.5636 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1297, allocations: 4 kB / 0.5636 GB, free: 0.6406 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001537/0.1299, allocations: 162.8 kB / 0.5638 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.1299, allocations: 27.81 kB / 0.5638 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.09e-05/0.13, allocations: 25.83 kB / 0.5638 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.13, allocations: 4 kB / 0.5638 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.13, allocations: 0 / 0.5638 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.13, allocations: 4 kB / 0.5638 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.1303, allocations: 265.5 kB / 0.5641 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1303, allocations: 0 / 0.5641 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.1303, allocations: 8 kB / 0.5641 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1303, allocations: 0 / 0.5641 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.1303, allocations: 15.92 kB / 0.5641 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1303, allocations: 0 / 0.5641 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1303, allocations: 3.938 kB / 0.5641 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.1307, allocations: 185.6 kB / 0.5643 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.1308, allocations: 96.97 kB / 0.5644 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.1308, allocations: 11.98 kB / 0.5644 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.1309, allocations: 7.938 kB / 0.5644 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.131, allocations: 7.984 kB / 0.5644 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.131, allocations: 8 kB / 0.5644 GB, free: 15.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003005/0.1313, allocations: 257.9 kB / 0.5647 GB, free: 15.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1313, allocations: 0 / 0.5647 GB, free: 15.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.1316, allocations: 47.86 kB / 0.5647 GB, free: 15.42 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002186/0.1338, allocations: 1.024 MB / 0.5657 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.1341, allocations: 87.84 kB / 0.5658 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1341, allocations: 0 / 0.5658 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.1342, allocations: 47.91 kB / 0.5658 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.1347, allocations: 62.98 kB / 0.5659 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.1378, allocations: 2.36 MB / 0.5682 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.1383, allocations: 0.7519 MB / 0.5689 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.1384, allocations: 33.92 kB / 0.569 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.1385, allocations: 67.42 kB / 0.569 GB, free: 10.98 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1385, allocations: 0 / 0.569 GB, free: 10.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.1672, allocations: 5.823 MB / 0.5747 GB, free: 5.223 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.241/8.408, allocations: 2.344 kB / 0.5747 GB, free: 5.223 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.56093805609271]