Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009133/0.0009133, allocations: 198.1 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.315/1.315, allocations: 226.5 MB / 243.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007364/0.0007365, allocations: 95.17 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3462/0.3462, allocations: 44.83 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002839, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3542, allocations: 62.96 MB / 0.5159 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.001707/0.3559, allocations: 1.427 MB / 0.5173 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.3576, allocations: 1.532 MB / 0.5188 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.044e-05/0.3577, allocations: 0 / 0.5188 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.3579, allocations: 38.36 kB / 0.5188 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.3582, allocations: 76.55 kB / 0.5189 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.3584, allocations: 100.6 kB / 0.519 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.3585, allocations: 87.97 kB / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.3586, allocations: 10.61 kB / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.113e-05/0.3587, allocations: 39.72 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.3588, allocations: 37.31 kB / 0.5192 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.3588, allocations: 3 kB / 0.5192 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.359, allocations: 103.5 kB / 0.5193 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.359, allocations: 18.23 kB / 0.5193 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.3591, allocations: 62.11 kB / 0.5193 GB, free: 34.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.3593, allocations: 120.8 kB / 0.5194 GB, free: 34.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3593, allocations: 0 / 0.5194 GB, free: 34.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3593, allocations: 0 / 0.5194 GB, free: 34.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.3593, allocations: 0 / 0.5194 GB, free: 34.77 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.0004231/0.3597, allocations: 408.8 kB / 0.5198 GB, free: 34.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3597, allocations: 8.875 kB / 0.5198 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.3598, allocations: 14.78 kB / 0.5199 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.36, allocations: 216.4 kB / 0.5201 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.36, allocations: 3.938 kB / 0.5201 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.36, allocations: 2.875 kB / 0.5201 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3602, allocations: 71.8 kB / 0.5201 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3602, allocations: 0 / 0.5201 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3602, allocations: 2.938 kB / 0.5201 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3602, allocations: 0 / 0.5201 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.214e-05/0.3603, allocations: 19.94 kB / 0.5202 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.3606, allocations: 289.6 kB / 0.5204 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3607, allocations: 55.91 kB / 0.5205 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.3608, allocations: 17.58 kB / 0.5205 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.3608, allocations: 6.875 kB / 0.5205 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.3609, allocations: 68.83 kB / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.361, allocations: 0 / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00093/0.3619, allocations: 169.1 kB / 0.5207 GB, free: 33.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.362, allocations: 92.05 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.3622, allocations: 164.1 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.3623, allocations: 29.08 kB / 0.521 GB, free: 33.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.3624, allocations: 109 kB / 0.5211 GB, free: 33.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.3624, allocations: 25.84 kB / 0.5211 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.3624, allocations: 2.875 kB / 0.5211 GB, free: 33.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.3625, allocations: 321.2 kB / 0.5214 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.058e-05/0.3626, allocations: 20.02 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3627, allocations: 41.2 kB / 0.5215 GB, free: 32.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.3629, allocations: 67.67 kB / 0.5216 GB, free: 32.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.363, allocations: 0 / 0.5216 GB, free: 32.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002969/0.3633, allocations: 97.47 kB / 0.5217 GB, free: 32.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3633, allocations: 2.969 kB / 0.5217 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.3633, allocations: 6.875 kB / 0.5217 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3633, allocations: 0 / 0.5217 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.3635, allocations: 15.66 kB / 0.5217 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3635, allocations: 6.75 kB / 0.5217 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.874e-05/0.3636, allocations: 14.42 kB / 0.5217 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.3637, allocations: 3.031 kB / 0.5217 GB, free: 32.73 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 0.000108/0.3638, allocations: 117.6 kB / 0.5218 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.3638, allocations: 9.688 kB / 0.5218 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/0.3639, allocations: 14.94 kB / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3639, allocations: 0 / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3639, allocations: 6.969 kB / 0.5219 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.364, allocations: 0 / 0.5219 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/0.3646, allocations: 403.7 kB / 0.5222 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3646, allocations: 2.938 kB / 0.5222 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.221e-05/0.3646, allocations: 11.28 kB / 0.5223 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3647, allocations: 0 / 0.5223 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.3647, allocations: 7.5 kB / 0.5223 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3647, allocations: 0 / 0.5223 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3647, allocations: 3.938 kB / 0.5223 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.365, allocations: 201.4 kB / 0.5225 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.3651, allocations: 95.39 kB / 0.5225 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.3652, allocations: 6.969 kB / 0.5226 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.3653, allocations: 6.391 kB / 0.5226 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.3654, allocations: 2.938 kB / 0.5226 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.3654, allocations: 3.062 kB / 0.5226 GB, free: 31.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001409/0.3656, allocations: 127.9 kB / 0.5227 GB, free: 31.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.252e-06/0.3656, allocations: 7.938 kB / 0.5227 GB, free: 31.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004758/0.3661, allocations: 48.39 kB / 0.5227 GB, free: 31.83 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.001474/0.3676, allocations: 0.5359 MB / 0.5233 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.3679, allocations: 61.08 kB / 0.5233 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3679, allocations: 4.062 kB / 0.5233 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.368, allocations: 29.06 kB / 0.5234 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.3686, allocations: 33.2 kB / 0.5234 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005665/0.3692, allocations: 240 kB / 0.5236 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.3694, allocations: 0.6974 MB / 0.5243 GB, free: 30.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-05/0.3694, allocations: 22.56 kB / 0.5243 GB, free: 30.61 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3695, allocations: 0 / 0.5243 GB, free: 30.61 MB / 378.7 MB Notification: Performance of Templates: time 0.006464/0.3759, allocations: 2.394 MB / 0.5267 GB, free: 30.34 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches