Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001272, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.201/0.201, allocations: 46.11 MB / 343.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 77.22 kB / 417 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1058, allocations: 62.44 MB / 479.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003918/0.1098, allocations: 2.334 MB / 481.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.112, allocations: 1.313 MB / 483 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1122, allocations: 7.938 kB / 483 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.1125, allocations: 119.6 kB / 483.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.113, allocations: 223.2 kB / 483.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.1133, allocations: 167.7 kB / 483.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.1138, allocations: 434.7 kB / 484 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1139, allocations: 61.33 kB / 484 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000289/0.1142, allocations: 287 kB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1144, allocations: 155.1 kB / 484.5 MB, free: 476 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.1144, allocations: 15.94 kB / 484.5 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.1146, allocations: 71.95 kB / 484.5 MB, free: 388 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1147, allocations: 143.5 kB / 484.7 MB, free: 244 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.1149, allocations: 206.3 kB / 484.9 MB, free: 36 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.1153, allocations: 466 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1153, allocations: 0 / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1153, allocations: 0 / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1153, allocations: 0 / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001007/0.1163, allocations: 0.8825 MB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1164, allocations: 12.86 kB / 486.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/0.1164, allocations: 46.73 kB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.423e-05/0.1165, allocations: 76 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.117, allocations: 436.2 kB / 486.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.117, allocations: 16.36 kB / 486.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.1171, allocations: 15.94 kB / 486.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.1175, allocations: 197.4 kB / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.1175, allocations: 3.906 kB / 487 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.1175, allocations: 12 kB / 487 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1175, allocations: 4 kB / 487 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.1178, allocations: 91.86 kB / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008383/0.1186, allocations: 0.8249 MB / 487.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006203/0.1192, allocations: 242.5 kB / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1194, allocations: 91.45 kB / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.1195, allocations: 8 kB / 488.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/0.1199, allocations: 210.2 kB / 488.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/0.1199, allocations: 0 / 488.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002465/0.1224, allocations: 1.168 MB / 489.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.1225, allocations: 144.5 kB / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009347/0.1234, allocations: 0.9535 MB / 490.7 MB, free: 9.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.1235, allocations: 41.7 kB / 490.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.1236, allocations: 265.1 kB / 491 MB, free: 9.562 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.1238, allocations: 138.1 kB / 491.2 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.1239, allocations: 86.03 kB / 491.3 MB, free: 9.336 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.124, allocations: 318 kB / 491.6 MB, free: 9.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.1242, allocations: 116.8 kB / 491.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.1245, allocations: 179.2 kB / 491.9 MB, free: 8.703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/0.125, allocations: 322.7 kB / 492.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.125, allocations: 0 / 492.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007128/0.1258, allocations: 452.3 kB / 492.6 MB, free: 7.914 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1258, allocations: 4 kB / 492.6 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.1258, allocations: 4 kB / 492.6 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1258, allocations: 4 kB / 492.6 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.1261, allocations: 91.83 kB / 492.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.1261, allocations: 8.172 kB / 492.7 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.1263, allocations: 24.05 kB / 492.7 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.1263, allocations: 16 kB / 492.8 MB, free: 7.766 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000253/0.1266, allocations: 248 kB / 493 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.564e-05/0.1267, allocations: 75.06 kB / 493.1 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.1268, allocations: 97.72 kB / 493.2 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.1268, allocations: 8 kB / 493.2 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.1268, allocations: 3.938 kB / 493.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.1269, allocations: 7.984 kB / 493.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.1284, allocations: 1.342 MB / 494.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1285, allocations: 0 / 494.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1286, allocations: 59.92 kB / 494.6 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.1286, allocations: 4 kB / 494.6 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.1287, allocations: 19.92 kB / 494.6 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1287, allocations: 8 kB / 494.6 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1287, allocations: 7.875 kB / 494.6 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008288/0.1295, allocations: 0.7903 MB / 495.4 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.1297, allocations: 180.2 kB / 495.6 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-05/0.1298, allocations: 12 kB / 495.6 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.1301, allocations: 19.98 kB / 495.6 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.1302, allocations: 43.83 kB / 495.7 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.1302, allocations: 27.98 kB / 495.7 MB, free: 4.668 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006927/0.1309, allocations: 0.6943 MB / 496.4 MB, free: 3.977 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1309, allocations: 0 / 496.4 MB, free: 3.977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005147/0.1314, allocations: 99.89 kB / 496.5 MB, free: 3.879 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002187/0.1336, allocations: 1.759 MB / 498.3 MB, free: 2.254 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005851/0.1342, allocations: 319.7 kB / 498.6 MB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1342, allocations: 0 / 498.6 MB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.1345, allocations: 163.7 kB / 498.7 MB, free: 1.781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009358/0.1355, allocations: 118.6 kB / 498.8 MB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006146/0.1416, allocations: 5.446 MB / 0.4925 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.1421, allocations: 0.9212 MB / 0.4934 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002243/0.1424, allocations: 75.3 kB / 0.4934 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.1426, allocations: 215.3 kB / 0.4936 GB, free: 10.8 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1426, allocations: 0 / 0.4936 GB, free: 10.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1918/0.3345, allocations: 10.94 MB / 0.5043 GB, free: 42.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.3346, allocations: 233.5 kB / 0.5046 GB, free: 42.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.292, allocations: 0.5625 kB / 0.5046 GB, free: 42.04 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches