Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001587/0.001587, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001889/0.001889, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.49/1.49, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.24/0.24, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 82.91 kB / 0.4914 GB, free: 26.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1148, allocations: 65.98 MB / 0.5558 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003291/0.1181, allocations: 1.748 MB / 0.5575 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1199, allocations: 1.041 MB / 0.5585 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.12, allocations: 4 kB / 0.5585 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.1203, allocations: 91.67 kB / 0.5586 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.1206, allocations: 115.6 kB / 0.5587 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.1209, allocations: 83.66 kB / 0.5588 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1211, allocations: 123.7 kB / 0.5589 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1212, allocations: 16.27 kB / 0.5589 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1213, allocations: 63.69 kB / 0.559 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1214, allocations: 71.73 kB / 0.5591 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1215, allocations: 4 kB / 0.5591 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.1216, allocations: 55.98 kB / 0.5591 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.1217, allocations: 35.89 kB / 0.5591 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.895e-05/0.1217, allocations: 43.62 kB / 0.5592 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.122, allocations: 143.3 kB / 0.5593 GB, free: 5.367 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.122, allocations: 0 / 0.5593 GB, free: 5.367 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.122, allocations: 0 / 0.5593 GB, free: 5.367 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.122, allocations: 4 kB / 0.5593 GB, free: 5.363 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006242/0.1226, allocations: 453.3 kB / 0.5598 GB, free: 4.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1227, allocations: 8.031 kB / 0.5598 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.87e-05/0.1227, allocations: 34.75 kB / 0.5598 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.1227, allocations: 16.84 kB / 0.5598 GB, free: 4.809 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.1231, allocations: 216.9 kB / 0.56 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1231, allocations: 4.375 kB / 0.56 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1231, allocations: 4.375 kB / 0.56 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1233, allocations: 73.66 kB / 0.5601 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1233, allocations: 4 kB / 0.5601 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1233, allocations: 0 / 0.5601 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1233, allocations: 4 kB / 0.5601 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.592e-05/0.1234, allocations: 31.95 kB / 0.5601 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.1239, allocations: 296.8 kB / 0.5604 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.1241, allocations: 62.48 kB / 0.5605 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.062e-05/0.1242, allocations: 24.97 kB / 0.5605 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.1242, allocations: 0 / 0.5605 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.1244, allocations: 67.39 kB / 0.5606 GB, free: 3.914 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.1244, allocations: 0 / 0.5606 GB, free: 3.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008018/0.1252, allocations: 249.7 kB / 0.5608 GB, free: 3.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.1252, allocations: 63.34 kB / 0.5609 GB, free: 3.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.1255, allocations: 238 kB / 0.5611 GB, free: 3.348 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1255, allocations: 25.7 kB / 0.5611 GB, free: 3.316 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.1256, allocations: 116.1 kB / 0.5612 GB, free: 3.199 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.1257, allocations: 31.73 kB / 0.5613 GB, free: 3.168 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.1257, allocations: 25.72 kB / 0.5613 GB, free: 3.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1259, allocations: 322.8 kB / 0.5616 GB, free: 2.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.126, allocations: 35.98 kB / 0.5616 GB, free: 2.777 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-05/0.1261, allocations: 52.06 kB / 0.5617 GB, free: 2.723 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.1262, allocations: 77.66 kB / 0.5618 GB, free: 2.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1262, allocations: 0 / 0.5618 GB, free: 2.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002321/0.1265, allocations: 125.5 kB / 0.5619 GB, free: 2.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1265, allocations: 4 kB / 0.5619 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1265, allocations: 0 / 0.5619 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1265, allocations: 8.031 kB / 0.5619 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.1266, allocations: 27.92 kB / 0.5619 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1266, allocations: 0 / 0.5619 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.1267, allocations: 7.938 kB / 0.5619 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.1267, allocations: 7.938 kB / 0.5619 GB, free: 2.457 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001169/0.1268, allocations: 129.8 kB / 0.5621 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.1268, allocations: 15.91 kB / 0.5621 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.1269, allocations: 21.39 kB / 0.5621 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1269, allocations: 11.94 kB / 0.5621 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1269, allocations: 0 / 0.5621 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1269, allocations: 3.938 kB / 0.5621 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.1274, allocations: 456 kB / 0.5625 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1274, allocations: 0 / 0.5625 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.1275, allocations: 19.92 kB / 0.5626 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1275, allocations: 0 / 0.5626 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.1275, allocations: 8 kB / 0.5626 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1275, allocations: 8 kB / 0.5626 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1276, allocations: 0 / 0.5626 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.1279, allocations: 225.4 kB / 0.5628 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.128, allocations: 96.94 kB / 0.5629 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1281, allocations: 4 kB / 0.5629 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.1281, allocations: 8 kB / 0.5629 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.1282, allocations: 7.984 kB / 0.5629 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.1282, allocations: 8 kB / 0.5629 GB, free: 1.336 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.1284, allocations: 180.3 kB / 0.5631 GB, free: 1.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1284, allocations: 0 / 0.5631 GB, free: 1.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1286, allocations: 31.94 kB / 0.5631 GB, free: 1.129 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.002552/0.1312, allocations: 1.165 MB / 0.5642 GB, free: 132 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.1314, allocations: 75.91 kB / 0.5643 GB, free: 56 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1314, allocations: 0 / 0.5643 GB, free: 56 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.57e-05/0.1315, allocations: 36.05 kB / 0.5644 GB, free: 20 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.1319, allocations: 47.66 kB / 0.5644 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.1344, allocations: 1.854 MB / 0.5662 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.1348, allocations: 0.7197 MB / 0.5669 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.672e-05/0.1349, allocations: 20.62 kB / 0.5669 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.135, allocations: 43.42 kB / 0.567 GB, free: 13.21 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.135, allocations: 0 / 0.567 GB, free: 13.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.1611, allocations: 3.98 MB / 0.5709 GB, free: 9.297 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.281, allocations: 0.875 kB / 0.5709 GB, free: 9.297 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.460679205134511]