Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1965/0.1965, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 470.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.331, allocations: 60.82 MB / 0.519 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002967/0.334, allocations: 2.244 MB / 0.5212 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.3357, allocations: 1.186 MB / 0.5224 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.3358, allocations: 7.969 kB / 0.5224 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.3362, allocations: 132.3 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.3366, allocations: 199.5 kB / 0.5227 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006815/0.3373, allocations: 310.5 kB / 0.523 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005338/0.3379, allocations: 431.9 kB / 0.5234 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.338, allocations: 60.86 kB / 0.5234 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004244/0.3385, allocations: 319.3 kB / 0.5237 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.3387, allocations: 151.6 kB / 0.5239 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.703e-05/0.3387, allocations: 19.47 kB / 0.5239 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.3389, allocations: 70.53 kB / 0.524 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.3391, allocations: 144.7 kB / 0.5241 GB, free: 488 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.3392, allocations: 199.2 kB / 0.5243 GB, free: 336 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.3398, allocations: 463.3 kB / 0.5247 GB, free: 132 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3398, allocations: 4 kB / 0.5248 GB, free: 128 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3398, allocations: 1.469 kB / 0.5248 GB, free: 128 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.3398, allocations: 0 / 0.5248 GB, free: 128 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001181/0.341, allocations: 0.8628 MB / 0.5256 GB, free: 15.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3411, allocations: 13.5 kB / 0.5256 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.3412, allocations: 66.91 kB / 0.5257 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005858/0.3418, allocations: 427.8 kB / 0.5261 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.3418, allocations: 11.38 kB / 0.5261 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.3419, allocations: 30.23 kB / 0.5261 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.3423, allocations: 196.7 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.3423, allocations: 1.375 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.3423, allocations: 6.688 kB / 0.5263 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3423, allocations: 4.125 kB / 0.5263 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.3426, allocations: 97.03 kB / 0.5264 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/0.3434, allocations: 0.808 MB / 0.5272 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005924/0.344, allocations: 253.6 kB / 0.5274 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.3442, allocations: 93.7 kB / 0.5275 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.3442, allocations: 8.188 kB / 0.5275 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003363/0.3446, allocations: 205.4 kB / 0.5277 GB, free: 13.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.3446, allocations: 1.125 kB / 0.5277 GB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002369/0.347, allocations: 1.149 MB / 0.5289 GB, free: 13.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.3471, allocations: 138 kB / 0.529 GB, free: 12.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009714/0.348, allocations: 0.919 MB / 0.5299 GB, free: 12.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.3481, allocations: 42 kB / 0.5299 GB, free: 12.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.3483, allocations: 261.1 kB / 0.5302 GB, free: 12.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3484, allocations: 139.4 kB / 0.5303 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3485, allocations: 83.81 kB / 0.5304 GB, free: 12.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3487, allocations: 382.6 kB / 0.5308 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.3489, allocations: 119.2 kB / 0.5309 GB, free: 11.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.3491, allocations: 187.5 kB / 0.531 GB, free: 11.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.3496, allocations: 313.8 kB / 0.5313 GB, free: 11.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3496, allocations: 0 / 0.5313 GB, free: 11.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007004/0.3503, allocations: 439.8 kB / 0.5318 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3504, allocations: 9.812 kB / 0.5318 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3504, allocations: 1.125 kB / 0.5318 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3504, allocations: 7.906 kB / 0.5318 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.3507, allocations: 93.48 kB / 0.5319 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3507, allocations: 2.844 kB / 0.5319 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.3508, allocations: 24.55 kB / 0.5319 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.3509, allocations: 17.25 kB / 0.5319 GB, free: 11.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0002539/0.3511, allocations: 252.4 kB / 0.5322 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.29e-05/0.3512, allocations: 78.09 kB / 0.5322 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.3514, allocations: 84.55 kB / 0.5323 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3514, allocations: 5.781 kB / 0.5323 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3514, allocations: 3.906 kB / 0.5323 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.3514, allocations: 7.922 kB / 0.5323 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.353, allocations: 1.316 MB / 0.5336 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.353, allocations: 2.219 kB / 0.5336 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.3532, allocations: 59.08 kB / 0.5337 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.3532, allocations: 4.625 kB / 0.5337 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.3533, allocations: 25.77 kB / 0.5337 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.3533, allocations: 7.5 kB / 0.5337 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.3533, allocations: 3.344 kB / 0.5337 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009161/0.3542, allocations: 0.7863 MB / 0.5345 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.3544, allocations: 178.1 kB / 0.5346 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.3545, allocations: 15.94 kB / 0.5347 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.3548, allocations: 21.2 kB / 0.5347 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.3549, allocations: 40.73 kB / 0.5347 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.3549, allocations: 25.45 kB / 0.5347 GB, free: 8.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008052/0.3558, allocations: 0.6734 MB / 0.5354 GB, free: 8.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3558, allocations: 0 / 0.5354 GB, free: 8.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000534/0.3563, allocations: 92.17 kB / 0.5355 GB, free: 8.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001176/0.3575, allocations: 0.5339 MB / 0.536 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006021/0.3581, allocations: 313.9 kB / 0.5363 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3581, allocations: 0.9688 kB / 0.5363 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.3584, allocations: 165.9 kB / 0.5365 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009357/0.3594, allocations: 145.4 kB / 0.5366 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.3611, allocations: 1.172 MB / 0.5378 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.3616, allocations: 0.903 MB / 0.5386 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.3618, allocations: 75.62 kB / 0.5387 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3619, allocations: 59.09 kB / 0.5388 GB, free: 6.43 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3619, allocations: 0 / 0.5388 GB, free: 6.43 MB / 398.1 MB Notification: Performance of Templates: time 0.009951/0.3719, allocations: 5.553 MB / 0.5442 GB, free: 1.883 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches