Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001149, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 112.7 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3899/0.3899, allocations: 44.83 MB / 392.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 63.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3576, allocations: 62.02 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002785/0.3605, allocations: 1.798 MB / 0.5169 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.3618, allocations: 1.025 MB / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.504e-05/0.3619, allocations: 0 / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.3622, allocations: 55.11 kB / 0.518 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.3624, allocations: 87.53 kB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.3626, allocations: 98.84 kB / 0.5181 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.3628, allocations: 103.5 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.311e-05/0.3629, allocations: 13.02 kB / 0.5183 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.168e-05/0.3629, allocations: 47.08 kB / 0.5183 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.12e-05/0.363, allocations: 45.41 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.363, allocations: 0 / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-05/0.3631, allocations: 41.06 kB / 0.5184 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.3632, allocations: 28.52 kB / 0.5184 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.3633, allocations: 43.81 kB / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.3634, allocations: 134.3 kB / 0.5186 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3634, allocations: 4 kB / 0.5186 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.3634, allocations: 0 / 0.5186 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.3635, allocations: 0 / 0.5186 GB, free: 35.57 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.0004685/0.3639, allocations: 439.8 kB / 0.519 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.364, allocations: 11.03 kB / 0.519 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.364, allocations: 14.12 kB / 0.519 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.3642, allocations: 229.4 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3642, allocations: 384 / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.3643, allocations: 7 kB / 0.5193 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.3644, allocations: 59.22 kB / 0.5193 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3644, allocations: 2.875 kB / 0.5193 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3644, allocations: 0 / 0.5193 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3644, allocations: 0 / 0.5193 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.76e-05/0.3645, allocations: 26.86 kB / 0.5193 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.3648, allocations: 292.3 kB / 0.5196 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.365, allocations: 56.59 kB / 0.5197 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.365, allocations: 20.91 kB / 0.5197 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.3651, allocations: 11.88 kB / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.3652, allocations: 66.67 kB / 0.5198 GB, free: 34.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.3652, allocations: 0 / 0.5198 GB, free: 34.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004751/0.3657, allocations: 181.6 kB / 0.5199 GB, free: 34.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.3657, allocations: 61.56 kB / 0.52 GB, free: 34.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3659, allocations: 266.2 kB / 0.5203 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.366, allocations: 32.05 kB / 0.5203 GB, free: 34.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.366, allocations: 118.7 kB / 0.5204 GB, free: 33.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.366, allocations: 26.62 kB / 0.5204 GB, free: 33.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.3661, allocations: 22.78 kB / 0.5204 GB, free: 33.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.3661, allocations: 334.9 kB / 0.5208 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.995e-05/0.3662, allocations: 19.16 kB / 0.5208 GB, free: 33.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.289e-05/0.3663, allocations: 33 kB / 0.5208 GB, free: 33.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.459e-05/0.3664, allocations: 63.69 kB / 0.5209 GB, free: 33.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3664, allocations: 0 / 0.5209 GB, free: 33.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001515/0.3665, allocations: 108.2 kB / 0.521 GB, free: 33.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.3665, allocations: 6.469 kB / 0.521 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3665, allocations: 0 / 0.521 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.3666, allocations: 0 / 0.521 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.3666, allocations: 18.39 kB / 0.521 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3667, allocations: 0 / 0.521 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.3667, allocations: 10.81 kB / 0.521 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3667, allocations: 2.906 kB / 0.521 GB, free: 33.48 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/0.3668, allocations: 132.1 kB / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.3668, allocations: 19.8 kB / 0.5212 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.3669, allocations: 21.94 kB / 0.5212 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3669, allocations: 0 / 0.5212 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3669, allocations: 3.094 kB / 0.5212 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3669, allocations: 7.922 kB / 0.5212 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.3672, allocations: 406.1 kB / 0.5216 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3672, allocations: 0 / 0.5216 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.3673, allocations: 9.844 kB / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3673, allocations: 2.969 kB / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3673, allocations: 7.938 kB / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3673, allocations: 6.156 kB / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3673, allocations: 0 / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.3677, allocations: 0.804 MB / 0.5224 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.3677, allocations: 87.39 kB / 0.5225 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.3677, allocations: 2.812 kB / 0.5225 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.3678, allocations: 6.25 kB / 0.5225 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.3679, allocations: 6.531 kB / 0.5225 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.3679, allocations: 5.891 kB / 0.5225 GB, free: 32.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.368, allocations: 204.6 kB / 0.5227 GB, free: 31.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.368, allocations: 0 / 0.5227 GB, free: 31.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003294/0.3683, allocations: 28.33 kB / 0.5227 GB, free: 31.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009653/0.3693, allocations: 467 kB / 0.5232 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.3695, allocations: 61.38 kB / 0.5232 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3695, allocations: 0 / 0.5232 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.386e-05/0.3696, allocations: 32.73 kB / 0.5232 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.3699, allocations: 36.41 kB / 0.5233 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.3704, allocations: 442.2 kB / 0.5237 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.3706, allocations: 0.719 MB / 0.5244 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.957e-05/0.3706, allocations: 12.89 kB / 0.5244 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.3707, allocations: 15.97 kB / 0.5244 GB, free: 30.65 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3707, allocations: 0 / 0.5244 GB, free: 30.65 MB / 378.7 MB Notification: Performance of Templates: time 0.004218/0.3749, allocations: 1.741 MB / 0.5261 GB, free: 30.45 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches