Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29",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.0009493/0.0009493, 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.153/1.153, 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.0006574/0.0006574, allocations: 98.33 kB / 271.2 MB, free: 8.246 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.2821/0.2821, allocations: 43.56 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 20 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09652/0.0969, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.001853/0.09879, allocations: 1.398 MB / 492.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.09994, allocations: 0.7461 MB / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.159e-05/0.1, allocations: 0 / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.1003, allocations: 39.77 kB / 493.1 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.1005, allocations: 39.83 kB / 493.2 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.1007, allocations: 71.86 kB / 493.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1009, allocations: 87.69 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.101, allocations: 12.2 kB / 493.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.1011, allocations: 35.86 kB / 493.4 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-05/0.1012, allocations: 35.78 kB / 493.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1012, allocations: 3.938 kB / 493.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.507e-05/0.1013, allocations: 35.98 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.1013, allocations: 19.92 kB / 493.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.1014, allocations: 53.52 kB / 493.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1016, allocations: 84.08 kB / 493.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1016, allocations: 0 / 493.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1016, allocations: 4 kB / 493.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.1016, allocations: 0 / 493.6 MB, free: 7.871 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.0004504/0.102, allocations: 399.1 kB / 494 MB, free: 7.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1021, allocations: 8.031 kB / 494 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.1021, allocations: 30.75 kB / 494 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.1022, allocations: 8.844 kB / 494 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1024, allocations: 223.9 kB / 494.2 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1024, allocations: 384 / 494.2 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.1024, allocations: 7.938 kB / 494.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1026, allocations: 57.67 kB / 494.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1026, allocations: 0 / 494.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1026, allocations: 4 kB / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1026, allocations: 0 / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.459e-05/0.1027, allocations: 19.98 kB / 494.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.103, allocations: 288.7 kB / 494.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.1032, allocations: 58.67 kB / 494.7 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.1032, allocations: 24.84 kB / 494.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1033, allocations: 4 kB / 494.7 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.1034, allocations: 67.33 kB / 494.8 MB, free: 6.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1034, allocations: 0 / 494.8 MB, free: 6.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004942/0.1039, allocations: 169.3 kB / 494.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.104, allocations: 55.34 kB / 495 MB, free: 6.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.1041, allocations: 182.2 kB / 495.2 MB, free: 6.094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1041, allocations: 33.7 kB / 495.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.1042, allocations: 100.1 kB / 495.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.1042, allocations: 31.62 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.1043, allocations: 0 / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1044, allocations: 326.8 kB / 495.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.203e-05/0.1044, allocations: 12 kB / 495.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.1045, allocations: 41.64 kB / 495.7 MB, free: 5.535 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1046, allocations: 65.64 kB / 495.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1046, allocations: 0 / 495.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001603/0.1048, allocations: 93.58 kB / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1048, allocations: 8 kB / 495.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1048, allocations: 0 / 495.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.1048, allocations: 0 / 495.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.1049, allocations: 15.94 kB / 495.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1049, allocations: 8.031 kB / 495.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.105, allocations: 11.92 kB / 495.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.105, allocations: 4 kB / 495.9 MB, free: 5.32 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.009e-05/0.1051, allocations: 121.6 kB / 496 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.1051, allocations: 15.81 kB / 496 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.1052, allocations: 24.64 kB / 496.1 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1052, allocations: 0 / 496.1 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1052, allocations: 0 / 496.1 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1052, allocations: 7.922 kB / 496.1 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.1056, allocations: 395.5 kB / 496.4 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1056, allocations: 0 / 496.4 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.1056, allocations: 8 kB / 496.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1056, allocations: 8.297 kB / 496.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1056, allocations: 4 kB / 496.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1057, allocations: 8 kB / 496.5 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1057, allocations: 3.938 kB / 496.5 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.1059, allocations: 200.3 kB / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.1059, allocations: 92.92 kB / 496.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1059, allocations: 7.922 kB / 496.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.106, allocations: 4 kB / 496.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.1061, allocations: 7.984 kB / 496.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1061, allocations: 4 kB / 496.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.1062, allocations: 144.1 kB / 496.9 MB, free: 4.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1062, allocations: 4 kB / 496.9 MB, free: 4.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000234/0.1064, allocations: 23.98 kB / 497 MB, free: 4.16 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.001201/0.1076, allocations: 1.099 MB / 498.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1078, allocations: 59.91 kB / 498.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1078, allocations: 0 / 498.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.999e-05/0.1079, allocations: 23.98 kB / 498.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.1082, allocations: 31.23 kB / 498.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1092, allocations: 0.7324 MB / 498.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.1095, allocations: 0.7004 MB / 499.6 MB, free: 1.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.1095, allocations: 31.42 kB / 499.6 MB, free: 1.418 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1095, allocations: 0 / 499.6 MB, free: 1.418 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.969/3.079, allocations: 2.215 MB / 0.4901 GB, free: 42.34 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches