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.0008972/0.0008973, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.7 MB / 246.8 MB, free: 9.695 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1832/0.1832, allocations: 46.19 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002626, allocations: 8 kB / 419.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.09668, allocations: 63.55 MB / 483.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002334/0.09905, allocations: 1.972 MB / 485.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.1012, allocations: 1.279 MB / 486.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.1014, allocations: 7.938 kB / 486.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.1018, allocations: 123.6 kB / 486.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.1024, allocations: 219.2 kB / 486.8 MB, free: 428 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.1028, allocations: 163.7 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005201/0.1033, allocations: 438.7 kB / 487.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.1035, allocations: 65.25 kB / 487.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.1039, allocations: 283 kB / 487.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.1041, allocations: 147.1 kB / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.1041, allocations: 11.94 kB / 487.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.1043, allocations: 63.97 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.1044, allocations: 143.4 kB / 488.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.1046, allocations: 228 kB / 488.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.1051, allocations: 454 kB / 488.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1051, allocations: 4 kB / 488.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1051, allocations: 0 / 488.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1051, allocations: 0 / 488.7 MB, free: 14.45 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.0009976/0.1061, allocations: 0.8051 MB / 489.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1062, allocations: 8.875 kB / 489.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.686e-05/0.1062, allocations: 50.73 kB / 489.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.395e-05/0.1063, allocations: 72 kB / 489.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.1068, allocations: 444.1 kB / 490.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1068, allocations: 12.38 kB / 490.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.1068, allocations: 15.94 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.1072, allocations: 197.4 kB / 490.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.1072, allocations: 11.91 kB / 490.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1073, allocations: 0 / 490.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1073, allocations: 8 kB / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.1075, allocations: 95.86 kB / 490.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008493/0.1084, allocations: 0.8249 MB / 491.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005706/0.1089, allocations: 250.4 kB / 491.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.1091, allocations: 83.53 kB / 491.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1092, allocations: 12.2 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000346/0.1095, allocations: 202.2 kB / 491.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.833e-06/0.1095, allocations: 0 / 491.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002327/0.1119, allocations: 1.167 MB / 493 MB, free: 9.957 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.112, allocations: 144.4 kB / 493.1 MB, free: 9.785 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009481/0.1129, allocations: 0.9574 MB / 494.1 MB, free: 8.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.113, allocations: 41.69 kB / 494.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.1131, allocations: 269 kB / 494.4 MB, free: 8.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.1133, allocations: 142.1 kB / 494.5 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.1133, allocations: 37.7 kB / 494.5 MB, free: 8.316 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.1134, allocations: 326 kB / 494.9 MB, free: 7.992 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.1137, allocations: 112.8 kB / 495 MB, free: 7.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.1139, allocations: 175.2 kB / 495.1 MB, free: 7.684 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.1144, allocations: 323 kB / 495.4 MB, free: 7.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1144, allocations: 0 / 495.4 MB, free: 7.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007055/0.1152, allocations: 452.5 kB / 495.9 MB, free: 6.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1152, allocations: 4 kB / 495.9 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1152, allocations: 4 kB / 495.9 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1152, allocations: 4 kB / 495.9 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.1155, allocations: 87.83 kB / 496 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1155, allocations: 7.938 kB / 496 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.1157, allocations: 31.98 kB / 496 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.1157, allocations: 20 kB / 496 MB, free: 6.738 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.0002498/0.116, allocations: 248 kB / 496.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.1161, allocations: 75.06 kB / 496.4 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.1162, allocations: 89.73 kB / 496.4 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1162, allocations: 8 kB / 496.5 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.1162, allocations: 3.938 kB / 496.5 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.1162, allocations: 7.922 kB / 496.5 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.1178, allocations: 1.334 MB / 497.8 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.1179, allocations: 4 kB / 497.8 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.118, allocations: 55.92 kB / 497.9 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.118, allocations: 4 kB / 497.9 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.1181, allocations: 15.98 kB / 497.9 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.1181, allocations: 4 kB / 497.9 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.1181, allocations: 12.81 kB / 497.9 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/0.119, allocations: 0.7945 MB / 498.7 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.1193, allocations: 196.1 kB / 498.9 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.1194, allocations: 23.98 kB / 498.9 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.1198, allocations: 20 kB / 498.9 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/0.1199, allocations: 43.83 kB / 499 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.1199, allocations: 23.98 kB / 499 MB, free: 3.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007074/0.1206, allocations: 0.7059 MB / 499.7 MB, free: 2.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1206, allocations: 0 / 499.7 MB, free: 2.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005664/0.1212, allocations: 88 kB / 499.8 MB, free: 2.84 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.0023/0.1235, allocations: 1.762 MB / 0.4898 GB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006295/0.1242, allocations: 315.5 kB / 0.4901 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1242, allocations: 0 / 0.4901 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.1245, allocations: 163.7 kB / 0.4902 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.1257, allocations: 117.9 kB / 0.4904 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006622/0.1323, allocations: 5.456 MB / 0.4957 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.1329, allocations: 0.9173 MB / 0.4966 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002612/0.1331, allocations: 84.03 kB / 0.4967 GB, free: 9.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.1334, allocations: 211.3 kB / 0.4969 GB, free: 9.762 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1334, allocations: 0 / 0.4969 GB, free: 9.762 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1951/0.3285, allocations: 10.63 MB / 0.5073 GB, free: 38.36 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001262/0.3287, allocations: 234.5 kB / 0.5075 GB, free: 38.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.184, allocations: 0 / 0.5075 GB, free: 38.11 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