Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009275/0.0009275, allocations: 199.5 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.188/1.188, allocations: 226.5 MB / 243.4 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007109/0.0007109, allocations: 98.44 kB / 295.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2928/0.2928, allocations: 44.81 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002519/0.000252, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2659, allocations: 62.97 MB / 0.516 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.001555/0.2675, allocations: 1.384 MB / 0.5173 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2686, allocations: 0.9326 MB / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.2687, allocations: 7.938 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.269, allocations: 59.72 kB / 0.5183 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.2692, allocations: 82.45 kB / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.2694, allocations: 97.27 kB / 0.5185 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.2695, allocations: 83.36 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.2696, allocations: 7.938 kB / 0.5186 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/0.2696, allocations: 46.67 kB / 0.5186 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.2697, allocations: 34.55 kB / 0.5186 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.2698, allocations: 6.75 kB / 0.5186 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.398e-05/0.2698, allocations: 25.22 kB / 0.5187 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.2699, allocations: 23.55 kB / 0.5187 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.2699, allocations: 53.33 kB / 0.5187 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.27, allocations: 81.83 kB / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2701, allocations: 0 / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2701, allocations: 0 / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.2701, allocations: 0 / 0.5188 GB, free: 35.28 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.000409/0.2705, allocations: 394.3 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2705, allocations: 15.7 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.2706, allocations: 30.75 kB / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.2706, allocations: 14.47 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.2708, allocations: 201.3 kB / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2708, allocations: 3.188 kB / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.2708, allocations: 7.938 kB / 0.5195 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.2709, allocations: 49.64 kB / 0.5195 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2709, allocations: 0 / 0.5195 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.2709, allocations: 0 / 0.5195 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.271, allocations: 10.91 kB / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.73e-05/0.271, allocations: 17.3 kB / 0.5195 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.2712, allocations: 177.9 kB / 0.5197 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.2713, allocations: 53.2 kB / 0.5197 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.2713, allocations: 21.28 kB / 0.5198 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.2714, allocations: 0 / 0.5198 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.2715, allocations: 76.53 kB / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.984e-06/0.2715, allocations: 3.984 kB / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002284/0.2718, allocations: 93.14 kB / 0.5199 GB, free: 34.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.2718, allocations: 51.41 kB / 0.52 GB, free: 34.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.2719, allocations: 202.3 kB / 0.5202 GB, free: 34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.272, allocations: 25.7 kB / 0.5202 GB, free: 33.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.272, allocations: 101 kB / 0.5203 GB, free: 33.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.272, allocations: 23.48 kB / 0.5203 GB, free: 33.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.272, allocations: 0 / 0.5203 GB, free: 33.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.2721, allocations: 329.3 kB / 0.5206 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.253e-05/0.2721, allocations: 11.25 kB / 0.5206 GB, free: 33.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.53e-05/0.2722, allocations: 37.94 kB / 0.5207 GB, free: 33.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.916e-05/0.2723, allocations: 38.47 kB / 0.5207 GB, free: 33.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2723, allocations: 7.938 kB / 0.5207 GB, free: 33.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001234/0.2724, allocations: 90.2 kB / 0.5208 GB, free: 33.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2724, allocations: 5.562 kB / 0.5208 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2724, allocations: 3.281 kB / 0.5208 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2725, allocations: 2.938 kB / 0.5208 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.2725, allocations: 8.625 kB / 0.5208 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2725, allocations: 0 / 0.5208 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/0.2726, allocations: 2.781 kB / 0.5208 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.2726, allocations: 6.406 kB / 0.5208 GB, free: 33.41 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 6.704e-05/0.2727, allocations: 128.4 kB / 0.521 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.2727, allocations: 9.656 kB / 0.521 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.2727, allocations: 15.25 kB / 0.521 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2727, allocations: 6.969 kB / 0.521 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2727, allocations: 0 / 0.521 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2727, allocations: 0 / 0.521 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.333e-05/0.2728, allocations: 186.2 kB / 0.5212 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2728, allocations: 0 / 0.5212 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-05/0.2729, allocations: 6.406 kB / 0.5212 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2729, allocations: 6.938 kB / 0.5212 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.2729, allocations: 0 / 0.5212 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2729, allocations: 0 / 0.5212 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2729, allocations: 0 / 0.5212 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.273, allocations: 112.3 kB / 0.5213 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.2731, allocations: 99.27 kB / 0.5214 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.2731, allocations: 2.875 kB / 0.5214 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.488e-05/0.2731, allocations: 0 / 0.5214 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.2732, allocations: 9.844 kB / 0.5214 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.2732, allocations: 2.656 kB / 0.5214 GB, free: 32.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.536e-05/0.2733, allocations: 148.6 kB / 0.5215 GB, free: 32.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2733, allocations: 0 / 0.5215 GB, free: 32.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001933/0.2735, allocations: 25.03 kB / 0.5216 GB, free: 32.75 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.001021/0.2745, allocations: 0.9445 MB / 0.5225 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.2747, allocations: 41.5 kB / 0.5225 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2747, allocations: 0 / 0.5225 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.2747, allocations: 17.94 kB / 0.5225 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.275, allocations: 28.7 kB / 0.5226 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008362/0.2758, allocations: 0.6974 MB / 0.5232 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.2759, allocations: 0.7034 MB / 0.5239 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.276, allocations: 32.53 kB / 0.524 GB, free: 30.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.276, allocations: 0 / 0.524 GB, free: 30.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.842/3.118, allocations: 2.08 MB / 0.526 GB, free: 30.57 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches