Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 197.6 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.212/1.212, allocations: 226.5 MB / 243.4 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008753/0.0008753, allocations: 96.39 kB / 295.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2967/0.2967, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002368/0.0002368, allocations: 12 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2582, allocations: 62.97 MB / 0.516 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.001395/0.2596, allocations: 1.382 MB / 0.5173 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.2606, allocations: 0.9332 MB / 0.5182 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.2607, allocations: 4 kB / 0.5182 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.2609, allocations: 47.73 kB / 0.5183 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.2611, allocations: 83.34 kB / 0.5184 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.2613, allocations: 87.98 kB / 0.5184 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2614, allocations: 91.53 kB / 0.5185 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.55e-05/0.2615, allocations: 3.906 kB / 0.5185 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.569e-05/0.2616, allocations: 46.95 kB / 0.5186 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.2616, allocations: 35.61 kB / 0.5186 GB, free: 35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.2616, allocations: 4 kB / 0.5186 GB, free: 35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.113e-05/0.2617, allocations: 31.78 kB / 0.5187 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.2617, allocations: 13.02 kB / 0.5187 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.2618, allocations: 55.02 kB / 0.5187 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.2619, allocations: 73.97 kB / 0.5188 GB, free: 34.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2619, allocations: 0 / 0.5188 GB, free: 34.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.917e-06/0.2619, allocations: 3.328 kB / 0.5188 GB, free: 34.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.262, allocations: 0 / 0.5188 GB, free: 34.91 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.0003413/0.2623, allocations: 393.3 kB / 0.5192 GB, free: 34.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2623, allocations: 14.31 kB / 0.5192 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.2624, allocations: 30.75 kB / 0.5192 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.2624, allocations: 11.16 kB / 0.5192 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.2626, allocations: 211.4 kB / 0.5194 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.2626, allocations: 384 / 0.5194 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.2626, allocations: 3.938 kB / 0.5194 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.2627, allocations: 47.59 kB / 0.5195 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.2627, allocations: 0 / 0.5195 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2627, allocations: 3.375 kB / 0.5195 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.2627, allocations: 7.938 kB / 0.5195 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.487e-05/0.2628, allocations: 12.72 kB / 0.5195 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.2629, allocations: 189 kB / 0.5197 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.2631, allocations: 57.64 kB / 0.5197 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.2631, allocations: 20.75 kB / 0.5197 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.2631, allocations: 3.938 kB / 0.5198 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.2633, allocations: 69.5 kB / 0.5198 GB, free: 33.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.2633, allocations: 2.812 kB / 0.5198 GB, free: 33.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002146/0.2635, allocations: 91.94 kB / 0.5199 GB, free: 33.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.2635, allocations: 51.41 kB / 0.52 GB, free: 33.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.2636, allocations: 177.4 kB / 0.5201 GB, free: 33.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.2637, allocations: 28.61 kB / 0.5202 GB, free: 33.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.2637, allocations: 102.5 kB / 0.5203 GB, free: 33.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.2637, allocations: 18.59 kB / 0.5203 GB, free: 33.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.2637, allocations: 0 / 0.5203 GB, free: 33.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.096e-05/0.2638, allocations: 321.2 kB / 0.5206 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.211e-05/0.2638, allocations: 19.81 kB / 0.5206 GB, free: 33.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/0.2639, allocations: 33.55 kB / 0.5206 GB, free: 33.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.605e-05/0.2639, allocations: 42.45 kB / 0.5207 GB, free: 33.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.264, allocations: 6.906 kB / 0.5207 GB, free: 33.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001188/0.2641, allocations: 81.03 kB / 0.5208 GB, free: 33.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2641, allocations: 8.656 kB / 0.5208 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.2641, allocations: 7.359 kB / 0.5208 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.2641, allocations: 0 / 0.5208 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.2642, allocations: 8.719 kB / 0.5208 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.2642, allocations: 2.812 kB / 0.5208 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.2642, allocations: 2.938 kB / 0.5208 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.2643, allocations: 0 / 0.5208 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 (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 5.896e-05/0.2643, allocations: 131.2 kB / 0.5209 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.2643, allocations: 13.41 kB / 0.5209 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.2644, allocations: 15.44 kB / 0.5209 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2644, allocations: 6.781 kB / 0.5209 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2644, allocations: 0 / 0.5209 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2644, allocations: 0 / 0.5209 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.961e-05/0.2645, allocations: 186.8 kB / 0.5211 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2645, allocations: 0 / 0.5211 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.2645, allocations: 3.219 kB / 0.5211 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2645, allocations: 4 kB / 0.5211 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2645, allocations: 3.469 kB / 0.5211 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2645, allocations: 7 kB / 0.5211 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2645, allocations: 0 / 0.5211 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.2647, allocations: 111.3 kB / 0.5212 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.2647, allocations: 83.98 kB / 0.5213 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.2647, allocations: 7.422 kB / 0.5213 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.2648, allocations: 6.812 kB / 0.5213 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.2648, allocations: 3 kB / 0.5213 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.2648, allocations: 6.359 kB / 0.5213 GB, free: 32.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.26e-05/0.2649, allocations: 140.9 kB / 0.5215 GB, free: 32.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2649, allocations: 0 / 0.5215 GB, free: 32.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.2651, allocations: 16 kB / 0.5215 GB, free: 32.4 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.0009093/0.266, allocations: 0.9409 MB / 0.5224 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.2661, allocations: 38.38 kB / 0.5224 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2662, allocations: 0 / 0.5224 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.842e-05/0.2662, allocations: 23.39 kB / 0.5225 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.2664, allocations: 34.17 kB / 0.5225 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007435/0.2672, allocations: 0.6753 MB / 0.5232 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.123e-05/0.2673, allocations: 0.7002 MB / 0.5238 GB, free: 30.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.2673, allocations: 28.36 kB / 0.5239 GB, free: 30.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2674, allocations: 0 / 0.5239 GB, free: 30.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.899/3.166, allocations: 2.025 MB / 0.5259 GB, free: 30.23 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches