Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001242, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2414/0.2414, allocations: 46.12 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.004103/0.004103, allocations: 83.86 kB / 481.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3651, allocations: 62.44 MB / 0.5311 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003425/0.3686, allocations: 1.829 MB / 0.5329 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.3715, allocations: 1.696 MB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.3716, allocations: 0.9375 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.372, allocations: 54 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.3724, allocations: 138.9 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.3727, allocations: 105.2 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.373, allocations: 206.6 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.947e-05/0.3731, allocations: 15.3 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.3732, allocations: 79.31 kB / 0.5351 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.3735, allocations: 92.17 kB / 0.5352 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.3735, allocations: 8.25 kB / 0.5352 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.3737, allocations: 115.2 kB / 0.5354 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.3738, allocations: 36.03 kB / 0.5354 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.3739, allocations: 66.64 kB / 0.5355 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.3743, allocations: 227 kB / 0.5357 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3743, allocations: 5.078 kB / 0.5357 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3743, allocations: 3.938 kB / 0.5357 GB, free: 10.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3743, allocations: 0 / 0.5357 GB, free: 10.07 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008094/0.3751, allocations: 0.4902 MB / 0.5362 GB, free: 9.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3752, allocations: 9.906 kB / 0.5362 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.3753, allocations: 20.52 kB / 0.5362 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.3757, allocations: 259 kB / 0.5364 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.3757, allocations: 1.438 kB / 0.5364 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3757, allocations: 15.39 kB / 0.5364 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.376, allocations: 95.53 kB / 0.5365 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.376, allocations: 1.125 kB / 0.5365 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.376, allocations: 4 kB / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.376, allocations: 6.141 kB / 0.5365 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.3762, allocations: 31.7 kB / 0.5366 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.3765, allocations: 221.4 kB / 0.5368 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.3768, allocations: 97.7 kB / 0.5369 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.3769, allocations: 54.41 kB / 0.5369 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.377, allocations: 5.219 kB / 0.5369 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.3772, allocations: 104.6 kB / 0.537 GB, free: 8.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.3772, allocations: 0 / 0.537 GB, free: 8.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000506/0.3777, allocations: 175.5 kB / 0.5372 GB, free: 8.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.567e-05/0.3778, allocations: 131 kB / 0.5373 GB, free: 8.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.3781, allocations: 242.3 kB / 0.5376 GB, free: 8.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3782, allocations: 36.14 kB / 0.5376 GB, free: 8.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/0.3783, allocations: 114.6 kB / 0.5377 GB, free: 8.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.3783, allocations: 33.55 kB / 0.5377 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.3784, allocations: 27 kB / 0.5378 GB, free: 8.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3786, allocations: 335.5 kB / 0.5381 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.753e-05/0.3787, allocations: 27.02 kB / 0.5381 GB, free: 7.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.3788, allocations: 74 kB / 0.5382 GB, free: 7.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.379, allocations: 90.33 kB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.379, allocations: 1 kB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002856/0.3793, allocations: 133.4 kB / 0.5384 GB, free: 7.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3793, allocations: 5.062 kB / 0.5384 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3794, allocations: 1.281 kB / 0.5384 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3794, allocations: 5.484 kB / 0.5384 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3795, allocations: 22.06 kB / 0.5384 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3795, allocations: 5.312 kB / 0.5384 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-05/0.3796, allocations: 24.78 kB / 0.5385 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3796, allocations: 5.094 kB / 0.5385 GB, free: 7.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001435/0.3798, allocations: 136 kB / 0.5386 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.3798, allocations: 17.56 kB / 0.5386 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.66e-05/0.3799, allocations: 23.23 kB / 0.5386 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3799, allocations: 1.375 kB / 0.5386 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3799, allocations: 1.344 kB / 0.5386 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.3799, allocations: 4.172 kB / 0.5386 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.3802, allocations: 236.2 kB / 0.5389 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3802, allocations: 0 / 0.5389 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.3802, allocations: 10.41 kB / 0.5389 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3802, allocations: 1.25 kB / 0.5389 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3802, allocations: 5.609 kB / 0.5389 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3803, allocations: 1.125 kB / 0.5389 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3803, allocations: 1.344 kB / 0.5389 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.3806, allocations: 175 kB / 0.539 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-05/0.3807, allocations: 93.41 kB / 0.5391 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.3807, allocations: 7.219 kB / 0.5391 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.451e-05/0.3808, allocations: 3.406 kB / 0.5391 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.3809, allocations: 8.203 kB / 0.5392 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.3809, allocations: 8.281 kB / 0.5392 GB, free: 6.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.3811, allocations: 176 kB / 0.5393 GB, free: 6.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.224e-06/0.3811, allocations: 0 / 0.5393 GB, free: 6.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003136/0.3814, allocations: 61.77 kB / 0.5394 GB, free: 6.684 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001813/0.3832, allocations: 488.8 kB / 0.5399 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.3835, allocations: 83.61 kB / 0.5399 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3835, allocations: 0 / 0.5399 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.3837, allocations: 43.62 kB / 0.54 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.3841, allocations: 74.73 kB / 0.54 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.3847, allocations: 277.3 kB / 0.5403 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.3851, allocations: 0.7182 MB / 0.541 GB, free: 5.402 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.655e-05/0.3852, allocations: 35.73 kB / 0.541 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.3852, allocations: 34.52 kB / 0.5411 GB, free: 5.367 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3853, allocations: 0 / 0.5411 GB, free: 5.367 MB / 398.1 MB Notification: Performance of Templates: time 0.007405/0.3927, allocations: 3.115 MB / 0.5441 GB, free: 3.789 MB / 398.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches