Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, 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.256/1.256, allocations: 226.5 MB / 243.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007624/0.0007624, allocations: 104.8 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2803/0.2803, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002908, allocations: 12 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2666, allocations: 62.96 MB / 0.516 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.001509/0.2681, allocations: 1.429 MB / 0.5174 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.2692, allocations: 0.9451 MB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.2692, allocations: 0 / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.2695, allocations: 56.06 kB / 0.5183 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.2697, allocations: 81.36 kB / 0.5184 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.2699, allocations: 97.42 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.2701, allocations: 91.61 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.146e-05/0.2701, allocations: 21.75 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.084e-05/0.2702, allocations: 42.48 kB / 0.5187 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.2703, allocations: 29.8 kB / 0.5187 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2703, allocations: 3.984 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.822e-05/0.2704, allocations: 36.89 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.2704, allocations: 31.58 kB / 0.5188 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.2705, allocations: 61.73 kB / 0.5188 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.2706, allocations: 99.06 kB / 0.5189 GB, free: 35.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2706, allocations: 4 kB / 0.5189 GB, free: 35.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2706, allocations: 3.938 kB / 0.5189 GB, free: 35.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.2707, allocations: 3.938 kB / 0.5189 GB, free: 35.21 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.000401/0.2711, allocations: 426.5 kB / 0.5193 GB, free: 34.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2711, allocations: 8.531 kB / 0.5193 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.2711, allocations: 40.88 kB / 0.5194 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.2712, allocations: 14.28 kB / 0.5194 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.2713, allocations: 214 kB / 0.5196 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.2714, allocations: 7.656 kB / 0.5196 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.2714, allocations: 10.78 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.2715, allocations: 54.41 kB / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2715, allocations: 3.938 kB / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.2715, allocations: 4 kB / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2716, allocations: 0 / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.252e-05/0.2716, allocations: 22.59 kB / 0.5197 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.2719, allocations: 300.7 kB / 0.52 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.272, allocations: 58.36 kB / 0.52 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.2721, allocations: 20.98 kB / 0.5201 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.2721, allocations: 6.906 kB / 0.5201 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.2723, allocations: 61.8 kB / 0.5201 GB, free: 34.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.2723, allocations: 4 kB / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004461/0.2727, allocations: 186.1 kB / 0.5203 GB, free: 33.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.2727, allocations: 51.41 kB / 0.5204 GB, free: 33.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.2729, allocations: 274.5 kB / 0.5206 GB, free: 33.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.2729, allocations: 28.55 kB / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.273, allocations: 109.1 kB / 0.5207 GB, free: 33.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.273, allocations: 25.03 kB / 0.5208 GB, free: 33.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.273, allocations: 4 kB / 0.5208 GB, free: 33.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.352e-05/0.2731, allocations: 331.2 kB / 0.5211 GB, free: 33.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.051e-05/0.2731, allocations: 22.69 kB / 0.5211 GB, free: 33.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.978e-05/0.2732, allocations: 36.73 kB / 0.5211 GB, free: 33.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.049e-05/0.2733, allocations: 58.06 kB / 0.5212 GB, free: 33.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2733, allocations: 0 / 0.5212 GB, free: 33.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001451/0.2734, allocations: 104.7 kB / 0.5213 GB, free: 33.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.2735, allocations: 13.72 kB / 0.5213 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2735, allocations: 0 / 0.5213 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.2735, allocations: 0 / 0.5213 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.557e-05/0.2736, allocations: 14.56 kB / 0.5213 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2736, allocations: 0 / 0.5213 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.2736, allocations: 18.19 kB / 0.5213 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2736, allocations: 2.906 kB / 0.5213 GB, free: 33.11 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 7.28e-05/0.2737, allocations: 132.2 kB / 0.5215 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.2737, allocations: 19.66 kB / 0.5215 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.2738, allocations: 24.33 kB / 0.5215 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2738, allocations: 0 / 0.5215 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2738, allocations: 2.562 kB / 0.5215 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.2738, allocations: 3.938 kB / 0.5215 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.2741, allocations: 411.6 kB / 0.5219 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2741, allocations: 0 / 0.5219 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.2742, allocations: 8.469 kB / 0.5219 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2742, allocations: 3.938 kB / 0.5219 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.2742, allocations: 10.75 kB / 0.5219 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.2742, allocations: 384 / 0.5219 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2742, allocations: 2.562 kB / 0.5219 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.2744, allocations: 202.8 kB / 0.5221 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.2744, allocations: 98.16 kB / 0.5222 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.2744, allocations: 7.938 kB / 0.5222 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.2745, allocations: 10.78 kB / 0.5222 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.2746, allocations: 9.141 kB / 0.5223 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.2746, allocations: 2.906 kB / 0.5223 GB, free: 32.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.2747, allocations: 204.2 kB / 0.5225 GB, free: 32.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2747, allocations: 0 / 0.5225 GB, free: 32.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.275, allocations: 27.62 kB / 0.5225 GB, free: 32.19 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.001078/0.276, allocations: 1.1 MB / 0.5236 GB, free: 31.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.2762, allocations: 60.8 kB / 0.5236 GB, free: 31.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2762, allocations: 0 / 0.5236 GB, free: 31.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.972e-05/0.2763, allocations: 31.88 kB / 0.5236 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.2766, allocations: 26.61 kB / 0.5237 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.2776, allocations: 0.9145 MB / 0.5246 GB, free: 30.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.2778, allocations: 0.7217 MB / 0.5253 GB, free: 30.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.2778, allocations: 47.7 kB / 0.5253 GB, free: 30 MB / 378.7 MB Notification: Performance of SimCode: time 8.71e-07/0.2778, allocations: 0 / 0.5253 GB, free: 30 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.817/3.095, allocations: 2.631 MB / 0.5279 GB, free: 29.71 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches