Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test26",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.000929/0.000929, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.273/1.273, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007565/0.0007565, allocations: 86.36 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.2836/0.2836, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 20 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.001981/0.1071, allocations: 1.398 MB / 492.3 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1083, allocations: 0.7383 MB / 493.1 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.275e-05/0.1084, allocations: 0 / 493.1 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.1087, allocations: 39.89 kB / 493.1 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.1089, allocations: 43.83 kB / 493.2 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1092, allocations: 67.84 kB / 493.2 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1094, allocations: 87.69 kB / 493.3 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.1095, allocations: 16.22 kB / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.1096, allocations: 43.78 kB / 493.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.536e-05/0.1096, allocations: 23.86 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1097, allocations: 3.938 kB / 493.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-05/0.1098, allocations: 47.91 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.1098, allocations: 15.92 kB / 493.5 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.1099, allocations: 57.45 kB / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.11, allocations: 88.08 kB / 493.6 MB, free: 8.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.11, allocations: 4 kB / 493.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1101, allocations: 0 / 493.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1101, allocations: 0 / 493.6 MB, free: 8.086 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004851/0.1106, allocations: 395.1 kB / 494 MB, free: 7.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1106, allocations: 8.031 kB / 494 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.1106, allocations: 38.75 kB / 494 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.1107, allocations: 8.844 kB / 494 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.1109, allocations: 216.6 kB / 494.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1109, allocations: 8.312 kB / 494.3 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.111, allocations: 7.938 kB / 494.3 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1111, allocations: 57.67 kB / 494.3 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1111, allocations: 4 kB / 494.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1112, allocations: 0 / 494.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1112, allocations: 0 / 494.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.251e-05/0.1112, allocations: 19.98 kB / 494.3 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.1116, allocations: 284.9 kB / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1118, allocations: 58.62 kB / 494.7 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.1118, allocations: 24.84 kB / 494.7 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1118, allocations: 0 / 494.7 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.112, allocations: 67.39 kB / 494.8 MB, free: 6.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.112, allocations: 0 / 494.8 MB, free: 6.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005045/0.1125, allocations: 173.1 kB / 494.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.1126, allocations: 51.41 kB / 495 MB, free: 6.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.1128, allocations: 204.7 kB / 495.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1128, allocations: 29.7 kB / 495.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.1128, allocations: 104.1 kB / 495.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.1129, allocations: 23.7 kB / 495.3 MB, free: 6.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.1129, allocations: 0 / 495.3 MB, free: 6.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.113, allocations: 322.8 kB / 495.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.1131, allocations: 27.92 kB / 495.7 MB, free: 5.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.919e-05/0.1131, allocations: 37.7 kB / 495.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.1132, allocations: 57.95 kB / 495.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1133, allocations: 0 / 495.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001788/0.1134, allocations: 109.4 kB / 495.9 MB, free: 5.559 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1135, allocations: 4 kB / 495.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1135, allocations: 0 / 495.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1135, allocations: 0 / 495.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/0.1136, allocations: 19.98 kB / 495.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1136, allocations: 4.031 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.1136, allocations: 3.938 kB / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1137, allocations: 11.94 kB / 495.9 MB, free: 5.516 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 (10): * Single equations (assignments): 10 * 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 9.658e-05/0.1138, allocations: 129.5 kB / 496.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.1138, allocations: 7.906 kB / 496.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.1138, allocations: 21.38 kB / 496.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1138, allocations: 7.938 kB / 496.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1138, allocations: 0 / 496.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1139, allocations: 7.938 kB / 496.1 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.1143, allocations: 399.2 kB / 496.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1143, allocations: 0 / 496.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.1143, allocations: 8.375 kB / 496.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1143, allocations: 3.938 kB / 496.5 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1143, allocations: 7.984 kB / 496.5 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1143, allocations: 8 kB / 496.5 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1143, allocations: 0 / 496.5 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.1146, allocations: 200.3 kB / 496.7 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.1146, allocations: 92.92 kB / 496.8 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1146, allocations: 3.938 kB / 496.8 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.1147, allocations: 7.984 kB / 496.8 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.1147, allocations: 3.984 kB / 496.8 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1148, allocations: 8 kB / 496.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1149, allocations: 156.9 kB / 497 MB, free: 4.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1149, allocations: 0 / 497 MB, free: 4.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000249/0.1152, allocations: 27.98 kB / 497 MB, free: 4.332 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 (8): * Single equations (assignments): 6 * 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.001286/0.1164, allocations: 1.098 MB / 498.1 MB, free: 3.254 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.1166, allocations: 55.91 kB / 498.2 MB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1166, allocations: 0 / 498.2 MB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.585e-05/0.1167, allocations: 32.11 kB / 498.2 MB, free: 3.168 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.117, allocations: 27.42 kB / 498.2 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1181, allocations: 0.7597 MB / 499 MB, free: 2.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.1184, allocations: 0.7004 MB / 499.7 MB, free: 1.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.1185, allocations: 39.41 kB / 499.7 MB, free: 1.555 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1185, allocations: 3.938 kB / 499.7 MB, free: 1.551 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.85/2.969, allocations: 2.267 MB / 0.4902 GB, free: 42.23 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches