Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008329/0.0008328, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000652/0.000652, allocations: 97.16 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2938/0.2938, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 12 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1043, allocations: 58.87 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.001848/0.1061, allocations: 1.413 MB / 492.4 MB, free: 9.352 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1072, allocations: 0.7422 MB / 493.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.079e-05/0.1073, allocations: 0 / 493.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.1076, allocations: 103.7 kB / 493.2 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1077, allocations: 75.78 kB / 493.3 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.108, allocations: 71.84 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.1081, allocations: 111.6 kB / 493.5 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.1082, allocations: 23.97 kB / 493.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.015e-05/0.1083, allocations: 47.78 kB / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.1084, allocations: 55.81 kB / 493.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1084, allocations: 0 / 493.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.1085, allocations: 39.97 kB / 493.6 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.1086, allocations: 23.92 kB / 493.6 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.262e-05/0.1087, allocations: 69.38 kB / 493.7 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1088, allocations: 104.1 kB / 493.8 MB, free: 7.883 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1088, allocations: 4 kB / 493.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1088, allocations: 0 / 493.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1088, allocations: 0 / 493.8 MB, free: 7.879 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004808/0.1093, allocations: 422.8 kB / 494.2 MB, free: 7.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1094, allocations: 8.031 kB / 494.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.1094, allocations: 38.69 kB / 494.3 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.1094, allocations: 12.75 kB / 494.3 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1097, allocations: 231.7 kB / 494.5 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1097, allocations: 12.38 kB / 494.5 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1097, allocations: 3.938 kB / 494.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1099, allocations: 73.59 kB / 494.6 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1099, allocations: 0 / 494.6 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1099, allocations: 0 / 494.6 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.1099, allocations: 0 / 494.6 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.11, allocations: 35.97 kB / 494.6 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.1104, allocations: 308.7 kB / 494.9 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.1106, allocations: 86.69 kB / 495 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.1107, allocations: 24.84 kB / 495 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1107, allocations: 4 kB / 495 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.1109, allocations: 79.38 kB / 495.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.1109, allocations: 0 / 495.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005556/0.1114, allocations: 221 kB / 495.3 MB, free: 6.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.1115, allocations: 59.33 kB / 495.4 MB, free: 6.098 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1117, allocations: 238.6 kB / 495.6 MB, free: 5.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1117, allocations: 33.7 kB / 495.7 MB, free: 5.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.1118, allocations: 116 kB / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.1118, allocations: 39.47 kB / 495.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.1118, allocations: 0 / 495.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.112, allocations: 334.8 kB / 496.1 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-05/0.112, allocations: 31.98 kB / 496.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/0.1121, allocations: 45.7 kB / 496.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.1123, allocations: 77.7 kB / 496.3 MB, free: 5.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1123, allocations: 0 / 496.3 MB, free: 5.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002191/0.1125, allocations: 141.4 kB / 496.4 MB, free: 5.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1125, allocations: 4 kB / 496.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1125, allocations: 3.984 kB / 496.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1125, allocations: 0 / 496.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.1126, allocations: 20 kB / 496.5 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1127, allocations: 7.875 kB / 496.5 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.1127, allocations: 7.984 kB / 496.5 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1127, allocations: 8 kB / 496.5 MB, free: 4.961 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.1128, allocations: 129.8 kB / 496.6 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.1129, allocations: 19.84 kB / 496.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.1129, allocations: 21.39 kB / 496.6 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1129, allocations: 7.984 kB / 496.7 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1129, allocations: 3.938 kB / 496.7 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.113, allocations: 0 / 496.7 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.1134, allocations: 443.2 kB / 497.1 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1134, allocations: 3.938 kB / 497.1 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/0.1135, allocations: 20.03 kB / 497.1 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1135, allocations: 0 / 497.1 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1135, allocations: 8 kB / 497.1 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1135, allocations: 96 / 497.1 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1135, allocations: 8.391 kB / 497.1 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.1138, allocations: 228.1 kB / 497.4 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.552e-05/0.1139, allocations: 100.8 kB / 497.5 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1139, allocations: 8 kB / 497.5 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.114, allocations: 0 / 497.5 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.114, allocations: 11.98 kB / 497.5 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.114, allocations: 8 kB / 497.5 MB, free: 3.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.1142, allocations: 184.2 kB / 497.7 MB, free: 3.672 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1142, allocations: 0 / 497.7 MB, free: 3.672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.1144, allocations: 31.98 kB / 497.7 MB, free: 3.641 MB / 378.7 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001352/0.1158, allocations: 1.134 MB / 498.8 MB, free: 2.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.116, allocations: 79.91 kB / 498.9 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.116, allocations: 0 / 498.9 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.053e-05/0.1161, allocations: 43.92 kB / 498.9 MB, free: 2.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.1164, allocations: 31.23 kB / 499 MB, free: 2.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.1178, allocations: 0.9576 MB / 499.9 MB, free: 1.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1181, allocations: 0.7165 MB / 0.4889 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.1181, allocations: 47.41 kB / 0.489 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1182, allocations: 0 / 0.489 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.913/3.031, allocations: 2.681 MB / 0.4916 GB, free: 42.22 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches