Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 106.9 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 190 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 222.8 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2169/0.2169, allocations: 43.51 MB / 313.6 MB, free: 0.7031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 70 kB / 382.3 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1118, allocations: 57.77 MB / 440.1 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002738/0.1146, allocations: 1.752 MB / 441.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1156, allocations: 0.789 MB / 442.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.303e-05/0.1157, allocations: 0 / 442.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.116, allocations: 35.83 kB / 442.7 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.1162, allocations: 51.83 kB / 442.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1164, allocations: 75.78 kB / 442.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.1166, allocations: 99.7 kB / 442.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.482e-05/0.1167, allocations: 20.14 kB / 442.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.635e-05/0.1168, allocations: 43.78 kB / 443 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.1168, allocations: 23.86 kB / 443 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1168, allocations: 7.938 kB / 443 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-05/0.1169, allocations: 43.98 kB / 443 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.154e-05/0.117, allocations: 23.91 kB / 443.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.117, allocations: 27.81 kB / 443.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.1172, allocations: 107.7 kB / 443.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1172, allocations: 0 / 443.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1172, allocations: 4 kB / 443.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1172, allocations: 0 / 443.2 MB, free: 4.121 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004455/0.1177, allocations: 414.9 kB / 443.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1177, allocations: 11.89 kB / 443.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.586e-05/0.1178, allocations: 34.69 kB / 443.7 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.1178, allocations: 8.844 kB / 443.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.1179, allocations: 210.1 kB / 443.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.118, allocations: 4.375 kB / 443.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.118, allocations: 7.938 kB / 443.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1181, allocations: 53.67 kB / 443.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1181, allocations: 0 / 443.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1182, allocations: 0 / 443.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1182, allocations: 0 / 443.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.517e-05/0.1182, allocations: 27.92 kB / 444 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/0.1185, allocations: 280.9 kB / 444.2 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1187, allocations: 62.67 kB / 444.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.1187, allocations: 16.86 kB / 444.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1187, allocations: 0 / 444.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.1189, allocations: 79.31 kB / 444.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.1189, allocations: 4 kB / 444.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000456/0.1194, allocations: 165.2 kB / 444.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.1194, allocations: 55.41 kB / 444.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1195, allocations: 182 kB / 444.8 MB, free: 2.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.1196, allocations: 29.64 kB / 444.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.1196, allocations: 100.1 kB / 444.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1196, allocations: 23.7 kB / 444.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.1197, allocations: 21.72 kB / 445 MB, free: 2.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.472e-05/0.1197, allocations: 322.8 kB / 445.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.1198, allocations: 23.98 kB / 445.3 MB, free: 1.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.274e-05/0.1198, allocations: 37.7 kB / 445.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.005e-05/0.1199, allocations: 65.62 kB / 445.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1199, allocations: 0 / 445.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001398/0.1201, allocations: 93.59 kB / 445.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1201, allocations: 13.97 kB / 445.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1201, allocations: 0 / 445.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1201, allocations: 0 / 445.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.046e-05/0.1202, allocations: 19.92 kB / 445.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1202, allocations: 4 kB / 445.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.1203, allocations: 3.938 kB / 445.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.1203, allocations: 8 kB / 445.5 MB, free: 1.543 MB / 318.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 (10): * Single equations (assignments): 10 * 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 6.229e-05/0.1203, allocations: 125.8 kB / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.1204, allocations: 15.84 kB / 445.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.1204, allocations: 12.72 kB / 445.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1204, allocations: 4 kB / 445.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1204, allocations: 0 / 445.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1204, allocations: 7.922 kB / 445.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.1207, allocations: 387.3 kB / 446.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1208, allocations: 0 / 446.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.1208, allocations: 11.98 kB / 446.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1208, allocations: 11.91 kB / 446.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1208, allocations: 4 kB / 446.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1208, allocations: 0 / 446.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1208, allocations: 0 / 446.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.121, allocations: 200.9 kB / 446.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.121, allocations: 89 kB / 446.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1211, allocations: 3.938 kB / 446.4 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.1211, allocations: 16 kB / 446.4 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.1212, allocations: 7.984 kB / 446.4 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1212, allocations: 0 / 446.4 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.889e-05/0.1213, allocations: 131.4 kB / 446.5 MB, free: 432 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1213, allocations: 0 / 446.5 MB, free: 432 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1215, allocations: 23.94 kB / 446.6 MB, free: 408 kB / 318.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: 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 (8): * Single equations (assignments): 6 * 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.001361/0.1229, allocations: 1.105 MB / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.1231, allocations: 67.91 kB / 447.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1231, allocations: 0 / 447.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.688e-05/0.1232, allocations: 27.94 kB / 447.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.1235, allocations: 31.91 kB / 447.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.1251, allocations: 1.609 MB / 449.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1254, allocations: 0.7078 MB / 450.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.684e-05/0.1255, allocations: 25.17 kB / 450.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.1255, allocations: 31.42 kB / 450.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1255, allocations: 4 kB / 450.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.1381, allocations: 3.142 MB / 453.3 MB, free: 9.605 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.1383, allocations: 234.7 kB / 453.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/1.89, allocations: 0 / 453.5 MB, free: 9.348 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches