Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33",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.0008012/0.0008012, allocations: 174.2 kB / 16.72 MB, free: 5.047 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.266/1.266, 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.0006756/0.0006756, allocations: 97.17 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.2863/0.2863, allocations: 43.57 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003241, allocations: 12 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09643, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.001771/0.09823, allocations: 1.394 MB / 492.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009706/0.09921, allocations: 0.7422 MB / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.09928, allocations: 4 kB / 493.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.09951, allocations: 39.83 kB / 493.1 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.09966, allocations: 35.84 kB / 493.2 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.09988, allocations: 75.83 kB / 493.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1, allocations: 79.7 kB / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.1001, allocations: 20.22 kB / 493.3 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.274e-05/0.1002, allocations: 39.83 kB / 493.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.1003, allocations: 27.8 kB / 493.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1003, allocations: 4 kB / 493.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.1004, allocations: 35.98 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.1004, allocations: 19.84 kB / 493.5 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.1005, allocations: 53.52 kB / 493.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1006, allocations: 88.09 kB / 493.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1006, allocations: 0 / 493.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1006, allocations: 0 / 493.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1006, allocations: 4 kB / 493.6 MB, free: 7.867 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.0004065/0.101, allocations: 395.1 kB / 494 MB, free: 7.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1011, allocations: 8.031 kB / 494 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.1011, allocations: 38.75 kB / 494 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.1012, allocations: 8.844 kB / 494 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.1014, allocations: 212 kB / 494.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1014, allocations: 4.375 kB / 494.2 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.1014, allocations: 11.88 kB / 494.3 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.1015, allocations: 57.67 kB / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1015, allocations: 0 / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1016, allocations: 0 / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1016, allocations: 0 / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.236e-05/0.1016, allocations: 19.98 kB / 494.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.1019, allocations: 288.7 kB / 494.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1021, allocations: 62.67 kB / 494.7 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.1022, allocations: 16.86 kB / 494.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.1022, allocations: 0 / 494.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.1023, allocations: 75.3 kB / 494.8 MB, free: 6.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1023, allocations: 4 kB / 494.8 MB, free: 6.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004507/0.1028, allocations: 157.3 kB / 494.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.1028, allocations: 63.34 kB / 495 MB, free: 6.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.103, allocations: 186.2 kB / 495.2 MB, free: 6.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.103, allocations: 25.7 kB / 495.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.1031, allocations: 100.1 kB / 495.3 MB, free: 5.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.1031, allocations: 23.66 kB / 495.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.1031, allocations: 7.938 kB / 495.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.1032, allocations: 322.8 kB / 495.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.277e-05/0.1033, allocations: 23.98 kB / 495.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.1034, allocations: 37.7 kB / 495.7 MB, free: 5.535 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.1035, allocations: 61.64 kB / 495.8 MB, free: 5.469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1035, allocations: 0 / 495.8 MB, free: 5.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001548/0.1036, allocations: 97.58 kB / 495.9 MB, free: 5.367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.1037, allocations: 4 kB / 495.9 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1037, allocations: 4.359 kB / 495.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1037, allocations: 8.031 kB / 495.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.604e-05/0.1038, allocations: 19.92 kB / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1038, allocations: 4 kB / 495.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.1038, allocations: 7.938 kB / 495.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1038, allocations: 4 kB / 495.9 MB, free: 5.316 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 8.927e-05/0.1039, allocations: 129.6 kB / 496 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.104, allocations: 11.81 kB / 496 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.104, allocations: 12.72 kB / 496.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.104, allocations: 7.984 kB / 496.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.104, allocations: 7.938 kB / 496.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.104, allocations: 3.938 kB / 496.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.1044, allocations: 387.3 kB / 496.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1044, allocations: 0 / 496.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-05/0.1044, allocations: 8 kB / 496.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1045, allocations: 7.938 kB / 496.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1045, allocations: 0 / 496.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1045, allocations: 0 / 496.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1045, allocations: 11.95 kB / 496.5 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.1047, allocations: 196.5 kB / 496.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.1047, allocations: 88.92 kB / 496.8 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.1048, allocations: 11.94 kB / 496.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.1048, allocations: 3.984 kB / 496.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1049, allocations: 8 kB / 496.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1049, allocations: 4 kB / 496.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.557e-05/0.105, allocations: 144 kB / 496.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.105, allocations: 0 / 496.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.1052, allocations: 20 kB / 496.9 MB, free: 4.176 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.001197/0.1064, allocations: 1.112 MB / 498.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.1066, allocations: 55.91 kB / 498.1 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1066, allocations: 4.062 kB / 498.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.103e-05/0.1067, allocations: 31.98 kB / 498.1 MB, free: 2.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.107, allocations: 27.58 kB / 498.2 MB, free: 2.965 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009755/0.1079, allocations: 0.7324 MB / 498.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.1082, allocations: 0.7004 MB / 499.6 MB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.1082, allocations: 35.42 kB / 499.6 MB, free: 1.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1083, allocations: 4 kB / 499.6 MB, free: 1.406 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.841/2.95, allocations: 2.206 MB / 0.4901 GB, free: 42.35 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches