Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85",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.0008595/0.0008596, allocations: 175.4 kB / 16.72 MB, free: 5.051 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.118/1.118, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0006943/0.0006941, allocations: 81.36 kB / 271.2 MB, free: 8.242 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.2656/0.2656, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 16 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08337/0.08374, allocations: 58.86 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.001595/0.08537, allocations: 1.357 MB / 492.3 MB, free: 9.422 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000952/0.08634, allocations: 0.7278 MB / 493 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.08642, allocations: 0 / 493 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.08666, allocations: 51.88 kB / 493.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.08683, allocations: 51.75 kB / 493.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.08705, allocations: 71.84 kB / 493.2 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.08721, allocations: 79.7 kB / 493.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.08726, allocations: 7.984 kB / 493.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.569e-05/0.08734, allocations: 43.77 kB / 493.3 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.08742, allocations: 35.84 kB / 493.4 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.08744, allocations: 0 / 493.4 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.08752, allocations: 32 kB / 493.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.08756, allocations: 15.91 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.08763, allocations: 57.5 kB / 493.5 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.08774, allocations: 68.06 kB / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.08775, allocations: 0 / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.08776, allocations: 0 / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.08777, allocations: 4 kB / 493.5 MB, free: 8.172 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003642/0.08814, allocations: 375.2 kB / 493.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.08818, allocations: 8.031 kB / 493.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.08822, allocations: 42.75 kB / 493.9 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.08825, allocations: 12.75 kB / 494 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.08842, allocations: 200.2 kB / 494.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.08844, allocations: 4.312 kB / 494.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.08846, allocations: 7.938 kB / 494.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.08858, allocations: 49.67 kB / 494.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.08859, allocations: 0 / 494.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.08861, allocations: 0 / 494.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.08861, allocations: 0 / 494.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.766e-05/0.08868, allocations: 15.98 kB / 494.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.08883, allocations: 181.6 kB / 494.4 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.08898, allocations: 58.5 kB / 494.5 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.804e-05/0.08904, allocations: 24.78 kB / 494.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.08906, allocations: 4 kB / 494.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.08921, allocations: 63.39 kB / 494.6 MB, free: 6.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.08922, allocations: 0 / 494.6 MB, free: 6.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002361/0.08946, allocations: 97.52 kB / 494.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.0895, allocations: 59.34 kB / 494.7 MB, free: 6.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.08964, allocations: 170.2 kB / 494.9 MB, free: 6.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.08966, allocations: 29.7 kB / 494.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.0897, allocations: 92.14 kB / 495 MB, free: 6.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.08973, allocations: 23.73 kB / 495 MB, free: 6.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.08974, allocations: 4 kB / 495 MB, free: 6.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.08983, allocations: 314.8 kB / 495.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.421e-05/0.08988, allocations: 15.98 kB / 495.3 MB, free: 6.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-05/0.08993, allocations: 33.7 kB / 495.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.276e-05/0.09002, allocations: 37.72 kB / 495.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.09004, allocations: 3.938 kB / 495.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001343/0.09018, allocations: 85.52 kB / 495.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.0902, allocations: 8 kB / 495.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.09021, allocations: 0 / 495.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-06/0.09022, allocations: 0 / 495.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.09029, allocations: 8 kB / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.0903, allocations: 3.938 kB / 495.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.09035, allocations: 7.984 kB / 495.5 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.09036, allocations: 4 kB / 495.5 MB, free: 5.926 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 (7): * Single equations (assignments): 7 * 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 7.803e-05/0.09044, allocations: 133.5 kB / 495.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.09046, allocations: 7.906 kB / 495.7 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.09049, allocations: 16.3 kB / 495.7 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.0905, allocations: 0 / 495.7 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.09051, allocations: 0 / 495.7 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.09051, allocations: 0 / 495.7 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.09063, allocations: 189.6 kB / 495.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.09064, allocations: 0 / 495.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.09066, allocations: 0 / 495.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.09067, allocations: 4 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.09068, allocations: 0 / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.09069, allocations: 7.984 kB / 495.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.09069, allocations: 3.938 kB / 495.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.09085, allocations: 113.2 kB / 496 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.0909, allocations: 93 kB / 496.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.09092, allocations: 0 / 496.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.818e-05/0.09097, allocations: 8 kB / 496.1 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.091, allocations: 3.984 kB / 496.1 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.09102, allocations: 8 kB / 496.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.399e-05/0.09111, allocations: 127.9 kB / 496.2 MB, free: 5.137 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09112, allocations: 0 / 496.2 MB, free: 5.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001904/0.09132, allocations: 24 kB / 496.3 MB, free: 5.113 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009962/0.09233, allocations: 0.948 MB / 497.2 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.09247, allocations: 43.97 kB / 497.2 MB, free: 4.141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.09248, allocations: 0 / 497.2 MB, free: 4.141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.99e-05/0.09253, allocations: 16 kB / 497.3 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.09277, allocations: 27.91 kB / 497.3 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008322/0.09361, allocations: 0.6468 MB / 497.9 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.09381, allocations: 0.7004 MB / 498.6 MB, free: 2.668 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.09386, allocations: 27.44 kB / 498.7 MB, free: 2.641 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.09387, allocations: 4 kB / 498.7 MB, free: 2.637 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.731/2.825, allocations: 1.938 MB / 0.4889 GB, free: 0.6953 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches