Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 200.2 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.242/1.242, allocations: 226.5 MB / 243.4 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007428/0.0007428, allocations: 98.86 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2844/0.2844, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002696, allocations: 12.22 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2692, allocations: 62.96 MB / 0.516 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.001498/0.2707, allocations: 1.44 MB / 0.5174 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2717, allocations: 0.9512 MB / 0.5183 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.2718, allocations: 3.844 kB / 0.5183 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.272, allocations: 51.12 kB / 0.5184 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.2723, allocations: 82.55 kB / 0.5184 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.2725, allocations: 92.06 kB / 0.5185 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.2726, allocations: 112.4 kB / 0.5186 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.963e-05/0.2727, allocations: 17.28 kB / 0.5186 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.2728, allocations: 47.05 kB / 0.5187 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.2729, allocations: 48.16 kB / 0.5187 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2729, allocations: 6.719 kB / 0.5187 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.112e-05/0.273, allocations: 47.06 kB / 0.5188 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.273, allocations: 35.28 kB / 0.5188 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.2731, allocations: 65.08 kB / 0.5189 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.2732, allocations: 109.3 kB / 0.519 GB, free: 35.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2732, allocations: 0 / 0.519 GB, free: 35.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2733, allocations: 0 / 0.519 GB, free: 35.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.2733, allocations: 0 / 0.519 GB, free: 35.03 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003955/0.2737, allocations: 420.4 kB / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2737, allocations: 12.53 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.834e-05/0.2737, allocations: 37.53 kB / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.2738, allocations: 10.66 kB / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.2739, allocations: 226.6 kB / 0.5197 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.274, allocations: 3.281 kB / 0.5197 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.274, allocations: 10.78 kB / 0.5197 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.2741, allocations: 71.2 kB / 0.5197 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2741, allocations: 0 / 0.5197 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.2742, allocations: 0 / 0.5197 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2742, allocations: 7.062 kB / 0.5198 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.957e-05/0.2743, allocations: 44.88 kB / 0.5198 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.2746, allocations: 326.7 kB / 0.5201 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.2748, allocations: 83.81 kB / 0.5202 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.2749, allocations: 31.02 kB / 0.5202 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.2749, allocations: 4 kB / 0.5202 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.275, allocations: 79.22 kB / 0.5203 GB, free: 33.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.2751, allocations: 0 / 0.5203 GB, free: 33.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.000685/0.2757, allocations: 300.2 kB / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.2758, allocations: 55.34 kB / 0.5206 GB, free: 33.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2759, allocations: 197 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.2759, allocations: 33.7 kB / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.276, allocations: 105.5 kB / 0.521 GB, free: 33.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.276, allocations: 39.52 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.276, allocations: 4 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.652e-05/0.2761, allocations: 324.3 kB / 0.5213 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.99e-05/0.2761, allocations: 39.62 kB / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.117e-05/0.2762, allocations: 58.31 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.2764, allocations: 100.6 kB / 0.5215 GB, free: 32.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.2764, allocations: 0 / 0.5215 GB, free: 32.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000198/0.2766, allocations: 154.7 kB / 0.5216 GB, free: 32.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.2766, allocations: 5.875 kB / 0.5217 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2766, allocations: 0 / 0.5217 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2766, allocations: 2.906 kB / 0.5217 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.998e-05/0.2767, allocations: 32.08 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2767, allocations: 0 / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.2768, allocations: 11.03 kB / 0.5217 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.2768, allocations: 6.25 kB / 0.5217 GB, free: 32.83 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 (15): * Single equations (assignments): 15 * 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.226e-05/0.2769, allocations: 126.6 kB / 0.5218 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.2769, allocations: 22.72 kB / 0.5218 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.277, allocations: 17.09 kB / 0.5219 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.277, allocations: 7.062 kB / 0.5219 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.277, allocations: 0 / 0.5219 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.277, allocations: 7.219 kB / 0.5219 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.2774, allocations: 491 kB / 0.5223 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2774, allocations: 3 kB / 0.5223 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.2775, allocations: 18.19 kB / 0.5224 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2775, allocations: 3.984 kB / 0.5224 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2775, allocations: 7 kB / 0.5224 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.2775, allocations: 2.844 kB / 0.5224 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2775, allocations: 7.266 kB / 0.5224 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.2777, allocations: 247 kB / 0.5226 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.2777, allocations: 97.95 kB / 0.5227 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.2778, allocations: 0 / 0.5227 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.2779, allocations: 6.969 kB / 0.5227 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.2779, allocations: 13.33 kB / 0.5227 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.2779, allocations: 8.953 kB / 0.5227 GB, free: 31.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.442e-05/0.278, allocations: 143.4 kB / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.278, allocations: 0 / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000242/0.2783, allocations: 33.31 kB / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.00123/0.2795, allocations: 1.211 MB / 0.5241 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.2797, allocations: 102.6 kB / 0.5242 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2797, allocations: 2.594 kB / 0.5242 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/0.2798, allocations: 46.86 kB / 0.5242 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.2801, allocations: 31.66 kB / 0.5243 GB, free: 30.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.2811, allocations: 0.904 MB / 0.5251 GB, free: 30.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.2813, allocations: 0.7092 MB / 0.5258 GB, free: 29.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.2813, allocations: 49.83 kB / 0.5259 GB, free: 29.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2814, allocations: 2.938 kB / 0.5259 GB, free: 29.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.798/3.08, allocations: 2.724 MB / 0.5286 GB, free: 29.31 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches