Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77",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.0008194/0.000819, allocations: 175.9 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.183/1.183, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007346/0.0007345, allocations: 92.97 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.2764/0.2764, allocations: 43.56 MB / 363.1 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003983, allocations: 12 kB / 432.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08832/0.08874, allocations: 58.85 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.001791/0.09057, allocations: 1.522 MB / 492.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.09163, allocations: 0.8396 MB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.09172, allocations: 3.938 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.09203, allocations: 147.7 kB / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.09226, allocations: 119.6 kB / 493.6 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.09257, allocations: 135.7 kB / 493.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.09278, allocations: 179.4 kB / 493.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.09289, allocations: 33.52 kB / 493.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.09302, allocations: 87.61 kB / 494 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.09315, allocations: 107.6 kB / 494.1 MB, free: 7.355 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.09318, allocations: 4 kB / 494.1 MB, free: 7.352 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.09326, allocations: 31.98 kB / 494.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.09333, allocations: 43.83 kB / 494.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.09341, allocations: 97.19 kB / 494.3 MB, free: 7.176 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.09358, allocations: 147.9 kB / 494.4 MB, free: 7.031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.0936, allocations: 0 / 494.4 MB, free: 7.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.0936, allocations: 0 / 494.4 MB, free: 7.031 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.09361, allocations: 4 kB / 494.4 MB, free: 7.027 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005187/0.09414, allocations: 486.3 kB / 494.9 MB, free: 6.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.09418, allocations: 8.031 kB / 494.9 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.09422, allocations: 46.73 kB / 494.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.09426, allocations: 24.66 kB / 495 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.09452, allocations: 271.5 kB / 495.2 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.09454, allocations: 384 / 495.2 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.09457, allocations: 11.94 kB / 495.2 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.09476, allocations: 95.36 kB / 495.3 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.09478, allocations: 0 / 495.3 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.0948, allocations: 3.984 kB / 495.3 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.09481, allocations: 4 kB / 495.3 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.09492, allocations: 39.92 kB / 495.4 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.09533, allocations: 440.8 kB / 495.8 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.09558, allocations: 117.3 kB / 495.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.09567, allocations: 37.7 kB / 496 MB, free: 5.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.0957, allocations: 4 kB / 496 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.09592, allocations: 117 kB / 496.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.09593, allocations: 0 / 496.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007434/0.09668, allocations: 352.6 kB / 496.4 MB, free: 4.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.09673, allocations: 81.05 kB / 496.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.09705, allocations: 355 kB / 496.9 MB, free: 4.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.09707, allocations: 29.64 kB / 496.9 MB, free: 4.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.09716, allocations: 144.4 kB / 497 MB, free: 4.176 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.0972, allocations: 47.36 kB / 497.1 MB, free: 4.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/0.09722, allocations: 4 kB / 497.1 MB, free: 4.125 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.09732, allocations: 342.8 kB / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/0.09742, allocations: 35.98 kB / 497.4 MB, free: 3.746 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-05/0.09752, allocations: 71.41 kB / 497.5 MB, free: 3.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.09772, allocations: 123.3 kB / 497.6 MB, free: 3.531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.09773, allocations: 0 / 497.6 MB, free: 3.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002777/0.09801, allocations: 181.5 kB / 497.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.09803, allocations: 4 kB / 497.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.09804, allocations: 7.984 kB / 497.8 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.09806, allocations: 4 kB / 497.8 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.09819, allocations: 43.98 kB / 497.9 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.0982, allocations: 0 / 497.9 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.09828, allocations: 4 kB / 497.9 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.0983, allocations: 12 kB / 497.9 MB, free: 3.273 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001188/0.09842, allocations: 153.7 kB / 498 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.09845, allocations: 27.7 kB / 498.1 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/0.09851, allocations: 29.73 kB / 498.1 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.09852, allocations: 7.938 kB / 498.1 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.09853, allocations: 4 kB / 498.1 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.09854, allocations: 0 / 498.1 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006133/0.09916, allocations: 0.6124 MB / 498.7 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.09917, allocations: 0 / 498.7 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.09923, allocations: 19.98 kB / 498.7 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.09924, allocations: 0 / 498.7 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.09926, allocations: 12.06 kB / 498.8 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.09927, allocations: 3.938 kB / 498.8 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09927, allocations: 4 kB / 498.8 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.09961, allocations: 359.9 kB / 499.1 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.09967, allocations: 108.8 kB / 499.2 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.09971, allocations: 4 kB / 499.2 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.09984, allocations: 11.98 kB / 499.2 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.09988, allocations: 15.92 kB / 499.2 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.09991, allocations: 8 kB / 499.3 MB, free: 1.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002102/0.1001, allocations: 261.9 kB / 499.5 MB, free: 1.535 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1001, allocations: 0 / 499.5 MB, free: 1.535 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002927/0.1004, allocations: 43.98 kB / 499.6 MB, free: 1.492 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001336/0.1018, allocations: 1.258 MB / 0.4891 GB, free: 260 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.102, allocations: 120 kB / 0.4892 GB, free: 140 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.102, allocations: 0 / 0.4892 GB, free: 140 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.1022, allocations: 64.45 kB / 0.4892 GB, free: 76 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.1026, allocations: 56.84 kB / 0.4893 GB, free: 16 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.145/0.2476, allocations: 1.348 MB / 0.4906 GB, free: 42.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.2478, allocations: 0.7541 MB / 0.4914 GB, free: 41.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.811e-05/0.2479, allocations: 75.72 kB / 0.4914 GB, free: 41.64 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2479, allocations: 0 / 0.4914 GB, free: 41.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.778/3.026, allocations: 3.748 MB / 0.4951 GB, free: 41.4 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches