Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 111.1 kB / 20.44 MB, free: 1.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002534/0.002534, allocations: 208.2 kB / 23.72 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2433/0.2433, allocations: 44.94 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.91 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3462, allocations: 65.48 MB / 0.5575 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003288/0.3494, allocations: 1.6 MB / 0.559 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.3515, allocations: 1.248 MB / 0.5603 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.3516, allocations: 4 kB / 0.5603 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.3518, allocations: 27.84 kB / 0.5603 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.3521, allocations: 83.62 kB / 0.5604 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.3524, allocations: 115.7 kB / 0.5605 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3526, allocations: 79.81 kB / 0.5606 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3527, allocations: 14.61 kB / 0.5606 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.754e-05/0.3528, allocations: 27.92 kB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.3529, allocations: 35.83 kB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3529, allocations: 7.938 kB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.3531, allocations: 95.94 kB / 0.5607 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.3532, allocations: 19.94 kB / 0.5607 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.3532, allocations: 23.8 kB / 0.5608 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.3535, allocations: 155.1 kB / 0.5609 GB, free: 3.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3535, allocations: 4 kB / 0.5609 GB, free: 3.953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3535, allocations: 0 / 0.5609 GB, free: 3.953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3535, allocations: 0 / 0.5609 GB, free: 3.953 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005866/0.3541, allocations: 337.6 kB / 0.5612 GB, free: 3.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3541, allocations: 8.031 kB / 0.5612 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.3542, allocations: 8.891 kB / 0.5613 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.3544, allocations: 142.4 kB / 0.5614 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3544, allocations: 8.375 kB / 0.5614 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.3544, allocations: 8.375 kB / 0.5614 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.3547, allocations: 109.1 kB / 0.5615 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3547, allocations: 3.953 kB / 0.5615 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3547, allocations: 8 kB / 0.5615 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3547, allocations: 3.938 kB / 0.5615 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.3548, allocations: 31.97 kB / 0.5616 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.3552, allocations: 248.4 kB / 0.5618 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.3554, allocations: 58.53 kB / 0.5619 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.929e-05/0.3554, allocations: 29 kB / 0.5619 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.3555, allocations: 3.938 kB / 0.5619 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3555, allocations: 30.56 kB / 0.5619 GB, free: 2.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3555, allocations: 0 / 0.5619 GB, free: 2.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007035/0.3562, allocations: 201.3 kB / 0.5621 GB, free: 2.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.3563, allocations: 81.09 kB / 0.5622 GB, free: 2.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.3564, allocations: 159.9 kB / 0.5623 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3565, allocations: 25.7 kB / 0.5624 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.3565, allocations: 96.12 kB / 0.5625 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.3566, allocations: 31.73 kB / 0.5625 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.3566, allocations: 21.72 kB / 0.5625 GB, free: 2.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.3568, allocations: 322.8 kB / 0.5628 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.864e-05/0.3569, allocations: 27.98 kB / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.357, allocations: 71.39 kB / 0.5629 GB, free: 1.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.3571, allocations: 77.06 kB / 0.563 GB, free: 1.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3572, allocations: 4 kB / 0.563 GB, free: 1.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002279/0.3574, allocations: 105.5 kB / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3574, allocations: 4 kB / 0.5631 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3574, allocations: 0 / 0.5631 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3574, allocations: 4 kB / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3575, allocations: 15.98 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3575, allocations: 0 / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.3576, allocations: 15.94 kB / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3576, allocations: 4 kB / 0.5631 GB, free: 1.492 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.966e-05/0.3577, allocations: 117.8 kB / 0.5632 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.3577, allocations: 11.91 kB / 0.5632 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.3581, allocations: 134.3 kB / 0.5634 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3581, allocations: 0 / 0.5634 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3581, allocations: 0 / 0.5634 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3581, allocations: 3.938 kB / 0.5634 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.3586, allocations: 346.1 kB / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3586, allocations: 384 / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.557e-05/0.3587, allocations: 19.98 kB / 0.5637 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3587, allocations: 0 / 0.5637 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3587, allocations: 4 kB / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.3587, allocations: 3.938 kB / 0.5637 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3587, allocations: 4.219 kB / 0.5637 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.359, allocations: 207.5 kB / 0.5639 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.359, allocations: 7.891 kB / 0.5639 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.359, allocations: 8 kB / 0.564 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.3591, allocations: 11.92 kB / 0.564 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.3591, allocations: 7.984 kB / 0.564 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.3591, allocations: 7.938 kB / 0.564 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.3592, allocations: 111.3 kB / 0.5641 GB, free: 440 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3592, allocations: 0 / 0.5641 GB, free: 440 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003058/0.3595, allocations: 47.86 kB / 0.5641 GB, free: 392 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.00191/0.3615, allocations: 0.5258 MB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.3617, allocations: 71.95 kB / 0.5647 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3617, allocations: 4 kB / 0.5647 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.788e-05/0.3618, allocations: 36.02 kB / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3622, allocations: 16 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.3627, allocations: 202.2 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.3628, allocations: 87.66 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.372e-05/0.3629, allocations: 24.64 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.3629, allocations: 23.42 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3629, allocations: 0 / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Templates: time 0.005411/0.3683, allocations: 1.923 MB / 0.567 GB, free: 13.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.286487329751253]