Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 196.5 kB / 16.1 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 226.5 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007737/0.0007737, allocations: 99.3 kB / 295.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2848/0.2848, allocations: 44.83 MB / 392.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.0002631, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2631, allocations: 62.97 MB / 0.516 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.001668/0.2648, allocations: 1.593 MB / 0.5175 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.266, allocations: 1.074 MB / 0.5186 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.2661, allocations: 2.844 kB / 0.5186 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.2664, allocations: 147.3 kB / 0.5187 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.2667, allocations: 153.3 kB / 0.5189 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.267, allocations: 164.4 kB / 0.519 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.2672, allocations: 214 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.2673, allocations: 28.91 kB / 0.5193 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.2674, allocations: 93.03 kB / 0.5193 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.2675, allocations: 117 kB / 0.5195 GB, free: 34.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.2676, allocations: 6.969 kB / 0.5195 GB, free: 34.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.569e-05/0.2677, allocations: 53.52 kB / 0.5195 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.2677, allocations: 47.31 kB / 0.5196 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.893e-05/0.2678, allocations: 101.6 kB / 0.5197 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.268, allocations: 165 kB / 0.5198 GB, free: 34.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.268, allocations: 3.031 kB / 0.5198 GB, free: 34.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.268, allocations: 0 / 0.5198 GB, free: 34.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.268, allocations: 0 / 0.5198 GB, free: 34.64 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004927/0.2685, allocations: 0.5015 MB / 0.5203 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2685, allocations: 12.66 kB / 0.5203 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.2686, allocations: 37.75 kB / 0.5204 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.2686, allocations: 27.33 kB / 0.5204 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.2689, allocations: 277 kB / 0.5206 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2689, allocations: 3.375 kB / 0.5206 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.2689, allocations: 13.88 kB / 0.5207 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.2691, allocations: 106.9 kB / 0.5208 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2691, allocations: 0 / 0.5208 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2691, allocations: 7.281 kB / 0.5208 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2691, allocations: 2.812 kB / 0.5208 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.2693, allocations: 46 kB / 0.5208 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.2696, allocations: 466.7 kB / 0.5213 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.27, allocations: 128.4 kB / 0.5214 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.02e-05/0.27, allocations: 43.02 kB / 0.5214 GB, free: 33.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.2701, allocations: 3.062 kB / 0.5214 GB, free: 33.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.2703, allocations: 121.8 kB / 0.5215 GB, free: 33.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.2703, allocations: 0 / 0.5215 GB, free: 33.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001059/0.2713, allocations: 499.5 kB / 0.522 GB, free: 32.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.2714, allocations: 85.05 kB / 0.5221 GB, free: 32.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.2717, allocations: 374.3 kB / 0.5225 GB, free: 32.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.2717, allocations: 32.8 kB / 0.5225 GB, free: 32.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/0.2718, allocations: 143 kB / 0.5226 GB, free: 32.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.2718, allocations: 69.59 kB / 0.5227 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.2718, allocations: 4 kB / 0.5227 GB, free: 32.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.2719, allocations: 340.8 kB / 0.523 GB, free: 32.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.272, allocations: 57.39 kB / 0.5231 GB, free: 32.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.2721, allocations: 90.97 kB / 0.5232 GB, free: 32.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.2723, allocations: 160 kB / 0.5233 GB, free: 31.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2723, allocations: 0 / 0.5233 GB, free: 31.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003042/0.2727, allocations: 235.8 kB / 0.5235 GB, free: 31.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.2727, allocations: 9.25 kB / 0.5235 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.2727, allocations: 2.781 kB / 0.5235 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2727, allocations: 0 / 0.5235 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.2728, allocations: 44.97 kB / 0.5236 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2728, allocations: 3 kB / 0.5236 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.2729, allocations: 12.98 kB / 0.5236 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.2729, allocations: 9.656 kB / 0.5236 GB, free: 31.83 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 (26): * Single equations (assignments): 26 * 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.0001013/0.2731, allocations: 154.5 kB / 0.5238 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.2731, allocations: 39.66 kB / 0.5238 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.2732, allocations: 35.61 kB / 0.5238 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2732, allocations: 9.484 kB / 0.5238 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2732, allocations: 0 / 0.5238 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2732, allocations: 3.703 kB / 0.5238 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.2738, allocations: 0.7262 MB / 0.5246 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2738, allocations: 0 / 0.5246 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.2739, allocations: 29.97 kB / 0.5246 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2739, allocations: 3.031 kB / 0.5246 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.2739, allocations: 9.812 kB / 0.5246 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2739, allocations: 3.031 kB / 0.5246 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.274, allocations: 7.219 kB / 0.5246 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.2743, allocations: 413.8 kB / 0.525 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.2743, allocations: 108.7 kB / 0.5251 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.2744, allocations: 13.28 kB / 0.5251 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2745, allocations: 7 kB / 0.5251 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.2746, allocations: 25.59 kB / 0.5252 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2746, allocations: 9.156 kB / 0.5252 GB, free: 30.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001848/0.2748, allocations: 274.2 kB / 0.5254 GB, free: 30.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2748, allocations: 3.938 kB / 0.5254 GB, free: 30.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.2751, allocations: 51.81 kB / 0.5255 GB, free: 30.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.001337/0.2764, allocations: 1.358 MB / 0.5268 GB, free: 29.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.2767, allocations: 155.6 kB / 0.5269 GB, free: 29.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2767, allocations: 0 / 0.5269 GB, free: 29.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.2768, allocations: 76.92 kB / 0.527 GB, free: 29.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.2774, allocations: 60.75 kB / 0.5271 GB, free: 29.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.2791, allocations: 1.561 MB / 0.5286 GB, free: 28.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.2793, allocations: 0.7628 MB / 0.5293 GB, free: 27.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.2794, allocations: 90.09 kB / 0.5294 GB, free: 27.76 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2794, allocations: 0 / 0.5294 GB, free: 27.76 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.842/3.121, allocations: 4.272 MB / 0.5336 GB, free: 27.27 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches