Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001106, allocations: 193.9 kB / 16.09 MB, free: 5.547 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 226.5 MB / 243.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007056/0.0007056, allocations: 99.03 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2729/0.2729, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002526/0.0002527, allocations: 15.92 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2603, allocations: 62.96 MB / 0.516 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.001592/0.2619, allocations: 1.426 MB / 0.5174 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.263, allocations: 0.9512 MB / 0.5183 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.2631, allocations: 3.938 kB / 0.5183 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.2634, allocations: 57.2 kB / 0.5183 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.2636, allocations: 74.2 kB / 0.5184 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.2638, allocations: 97.22 kB / 0.5185 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.264, allocations: 94.59 kB / 0.5186 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.2641, allocations: 13.52 kB / 0.5186 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.112e-05/0.2642, allocations: 45.62 kB / 0.5187 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.333e-05/0.2642, allocations: 33.3 kB / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.2642, allocations: 3.062 kB / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.793e-05/0.2643, allocations: 40.77 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.2644, allocations: 29.95 kB / 0.5188 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.2644, allocations: 66.09 kB / 0.5188 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.2646, allocations: 94.83 kB / 0.5189 GB, free: 35.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2646, allocations: 4 kB / 0.5189 GB, free: 35.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2646, allocations: 7.938 kB / 0.5189 GB, free: 35.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.2646, allocations: 0 / 0.5189 GB, free: 35.05 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.0004473/0.2651, allocations: 421.1 kB / 0.5193 GB, free: 34.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2651, allocations: 11.91 kB / 0.5193 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.838e-05/0.2651, allocations: 30.75 kB / 0.5194 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.2652, allocations: 15.22 kB / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.2654, allocations: 224.7 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2654, allocations: 3.344 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.2654, allocations: 11.03 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.2655, allocations: 64.09 kB / 0.5197 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2655, allocations: 0 / 0.5197 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2656, allocations: 3.422 kB / 0.5197 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2656, allocations: 0 / 0.5197 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.684e-05/0.2656, allocations: 19.25 kB / 0.5197 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.2659, allocations: 296 kB / 0.52 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.2661, allocations: 68.39 kB / 0.52 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.2661, allocations: 17.92 kB / 0.5201 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2662, allocations: 0 / 0.5201 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.2663, allocations: 71.67 kB / 0.5201 GB, free: 33.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.2663, allocations: 0 / 0.5201 GB, free: 33.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004489/0.2668, allocations: 183.6 kB / 0.5203 GB, free: 33.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.2668, allocations: 55.41 kB / 0.5204 GB, free: 33.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.267, allocations: 270.2 kB / 0.5206 GB, free: 33.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.267, allocations: 32.55 kB / 0.5206 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.2671, allocations: 109.5 kB / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.2671, allocations: 22.66 kB / 0.5208 GB, free: 33.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.2671, allocations: 2.438 kB / 0.5208 GB, free: 33.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.2671, allocations: 331.3 kB / 0.5211 GB, free: 33.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/0.2672, allocations: 24.86 kB / 0.5211 GB, free: 33.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.146e-05/0.2673, allocations: 38.83 kB / 0.5211 GB, free: 33.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.171e-05/0.2674, allocations: 54.08 kB / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2674, allocations: 3.656 kB / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001461/0.2675, allocations: 105.7 kB / 0.5213 GB, free: 32.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.2675, allocations: 6.906 kB / 0.5213 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2675, allocations: 6.969 kB / 0.5213 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2676, allocations: 0 / 0.5213 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.2676, allocations: 15.22 kB / 0.5213 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2677, allocations: 3 kB / 0.5213 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.2677, allocations: 6.938 kB / 0.5213 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.2677, allocations: 6.422 kB / 0.5213 GB, free: 32.96 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.402e-05/0.2678, allocations: 135.9 kB / 0.5215 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.2678, allocations: 13.81 kB / 0.5215 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.2679, allocations: 29.72 kB / 0.5215 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2679, allocations: 0 / 0.5215 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2679, allocations: 0 / 0.5215 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2679, allocations: 7.875 kB / 0.5215 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.2682, allocations: 406.6 kB / 0.5219 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2682, allocations: 2.781 kB / 0.5219 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.919e-05/0.2683, allocations: 9.312 kB / 0.5219 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2683, allocations: 6.812 kB / 0.5219 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.2683, allocations: 4.031 kB / 0.5219 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2683, allocations: 6.938 kB / 0.5219 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2683, allocations: 0 / 0.5219 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.2685, allocations: 203.9 kB / 0.5221 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.2685, allocations: 87.98 kB / 0.5222 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.2685, allocations: 14 kB / 0.5222 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.2686, allocations: 10.97 kB / 0.5222 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.2686, allocations: 6.375 kB / 0.5222 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.2687, allocations: 2.875 kB / 0.5223 GB, free: 32.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.2688, allocations: 200 kB / 0.5224 GB, free: 32.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2688, allocations: 0 / 0.5224 GB, free: 32.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.2691, allocations: 28.47 kB / 0.5225 GB, free: 32.05 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.001104/0.2702, allocations: 1.107 MB / 0.5236 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.2703, allocations: 57.23 kB / 0.5236 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2703, allocations: 0 / 0.5236 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.83e-05/0.2704, allocations: 32.58 kB / 0.5236 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2707, allocations: 23.72 kB / 0.5237 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.2718, allocations: 0.918 MB / 0.5246 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.272, allocations: 0.7239 MB / 0.5253 GB, free: 29.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.2721, allocations: 43.59 kB / 0.5253 GB, free: 29.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2721, allocations: 3.938 kB / 0.5253 GB, free: 29.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.993/3.265, allocations: 2.63 MB / 0.5279 GB, free: 29.57 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches