Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009395/0.0009397, allocations: 198.9 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.238/1.238, allocations: 226.5 MB / 243.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007287/0.0007283, allocations: 100.7 kB / 295.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2784/0.2784, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002231/0.0002231, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2548, allocations: 62.96 MB / 0.516 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.001495/0.2564, allocations: 1.425 MB / 0.5174 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.2574, allocations: 0.9522 MB / 0.5183 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.2575, allocations: 2.969 kB / 0.5183 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.2577, allocations: 53.98 kB / 0.5183 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.2579, allocations: 83.06 kB / 0.5184 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.2582, allocations: 97.5 kB / 0.5185 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.2583, allocations: 89.58 kB / 0.5186 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.622e-05/0.2584, allocations: 15.5 kB / 0.5186 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/0.2585, allocations: 45.72 kB / 0.5187 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.621e-05/0.2585, allocations: 30.2 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.2585, allocations: 2.875 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-05/0.2586, allocations: 39.77 kB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.996e-05/0.2587, allocations: 33.44 kB / 0.5188 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.2587, allocations: 58.36 kB / 0.5188 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.2588, allocations: 98.08 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2589, allocations: 2.781 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2589, allocations: 3.938 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.2589, allocations: 0 / 0.5189 GB, free: 35.16 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.0003791/0.2593, allocations: 430.7 kB / 0.5193 GB, free: 34.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2593, allocations: 9.125 kB / 0.5193 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.6e-05/0.2593, allocations: 30.75 kB / 0.5194 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.2594, allocations: 21.44 kB / 0.5194 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.2595, allocations: 220.2 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2595, allocations: 4.25 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.2596, allocations: 7.875 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.2597, allocations: 56.11 kB / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2597, allocations: 0 / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.2597, allocations: 6.266 kB / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2597, allocations: 0 / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.183e-05/0.2598, allocations: 26.31 kB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.2601, allocations: 297.3 kB / 0.52 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.2602, allocations: 53.2 kB / 0.52 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.391e-05/0.2603, allocations: 20.92 kB / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.2603, allocations: 6.875 kB / 0.5201 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.2604, allocations: 69.25 kB / 0.5201 GB, free: 33.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.2604, allocations: 0 / 0.5201 GB, free: 33.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004303/0.2609, allocations: 190.5 kB / 0.5203 GB, free: 33.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.2609, allocations: 55.41 kB / 0.5204 GB, free: 33.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.2611, allocations: 276.3 kB / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.2611, allocations: 25.7 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.2611, allocations: 111.7 kB / 0.5207 GB, free: 33.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.2612, allocations: 25.62 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-06/0.2612, allocations: 7.031 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.258e-05/0.2612, allocations: 321.1 kB / 0.5211 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.83e-05/0.2613, allocations: 23.05 kB / 0.5211 GB, free: 33.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.379e-05/0.2613, allocations: 42.19 kB / 0.5211 GB, free: 33.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.025e-05/0.2614, allocations: 56.53 kB / 0.5212 GB, free: 33.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.2614, allocations: 0 / 0.5212 GB, free: 33.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001442/0.2616, allocations: 107.5 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.2616, allocations: 6.031 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.2616, allocations: 0 / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.2616, allocations: 3.094 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.2617, allocations: 18.5 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.2617, allocations: 3 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.2618, allocations: 14.94 kB / 0.5213 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.2618, allocations: 0 / 0.5213 GB, free: 33.05 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.307e-05/0.2619, allocations: 135.9 kB / 0.5215 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.2619, allocations: 17.3 kB / 0.5215 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.2619, allocations: 22.3 kB / 0.5215 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2619, allocations: 0 / 0.5215 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.262, allocations: 7.938 kB / 0.5215 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.262, allocations: 7.359 kB / 0.5215 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.2623, allocations: 407.6 kB / 0.5219 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2623, allocations: 0 / 0.5219 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.2623, allocations: 15.39 kB / 0.5219 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2623, allocations: 3.938 kB / 0.5219 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2623, allocations: 2.875 kB / 0.5219 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2624, allocations: 0 / 0.5219 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2624, allocations: 4.406 kB / 0.5219 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.2625, allocations: 203.7 kB / 0.5221 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.2626, allocations: 90.98 kB / 0.5222 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.2626, allocations: 11.94 kB / 0.5222 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.2627, allocations: 6.875 kB / 0.5222 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.2627, allocations: 6.906 kB / 0.5222 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.2627, allocations: 7 kB / 0.5223 GB, free: 32.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.2628, allocations: 205.6 kB / 0.5225 GB, free: 32.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2629, allocations: 2.938 kB / 0.5225 GB, free: 32.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.2631, allocations: 24.14 kB / 0.5225 GB, free: 32.13 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.2642, allocations: 1.096 MB / 0.5235 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.2643, allocations: 61.48 kB / 0.5236 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2643, allocations: 0 / 0.5236 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.756e-05/0.2644, allocations: 37.12 kB / 0.5236 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.2647, allocations: 22.61 kB / 0.5237 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.2658, allocations: 0.9164 MB / 0.5246 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.266, allocations: 0.7244 MB / 0.5253 GB, free: 29.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.266, allocations: 43.67 kB / 0.5253 GB, free: 29.95 MB / 378.7 MB Notification: Performance of SimCode: time 4.2e-07/0.266, allocations: 0 / 0.5253 GB, free: 29.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.068/3.334, allocations: 2.637 MB / 0.5279 GB, free: 29.65 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches