Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001475/0.001475, allocations: 111.1 kB / 20.44 MB, free: 1.051 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.001504/0.001504, allocations: 209.4 kB / 23.73 MB, free: 4.156 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2376/0.2376, allocations: 44.93 MB / 358.8 MB, free: 6.102 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.CombiTable1Ds.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [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.003208/0.003208, allocations: 71.89 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3465, allocations: 65.47 MB / 0.5575 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003238/0.3497, allocations: 1.639 MB / 0.5591 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3508, allocations: 0.5349 MB / 0.5596 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.3508, allocations: 0 / 0.5596 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.3512, allocations: 95.69 kB / 0.5597 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.3515, allocations: 107.6 kB / 0.5598 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.3518, allocations: 107.5 kB / 0.5599 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.352, allocations: 103.7 kB / 0.56 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.3521, allocations: 14.66 kB / 0.56 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.16e-05/0.3522, allocations: 43.84 kB / 0.5601 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.3523, allocations: 71.67 kB / 0.5601 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.3523, allocations: 8 kB / 0.5601 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3524, allocations: 51.97 kB / 0.5602 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.3525, allocations: 27.92 kB / 0.5602 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.3525, allocations: 27.75 kB / 0.5602 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.3528, allocations: 131.1 kB / 0.5604 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3528, allocations: 0 / 0.5604 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3528, allocations: 0 / 0.5604 GB, free: 4.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3528, allocations: 0 / 0.5604 GB, free: 4.539 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005443/0.3533, allocations: 357.5 kB / 0.5607 GB, free: 4.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3534, allocations: 11.97 kB / 0.5607 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.3534, allocations: 20.84 kB / 0.5607 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.3536, allocations: 150.2 kB / 0.5609 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3536, allocations: 4.375 kB / 0.5609 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.3537, allocations: 8.375 kB / 0.5609 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3538, allocations: 69.78 kB / 0.561 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3539, allocations: 3.953 kB / 0.561 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3539, allocations: 8 kB / 0.561 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.3539, allocations: 7.938 kB / 0.561 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.354, allocations: 35.97 kB / 0.561 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.3544, allocations: 264.4 kB / 0.5613 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.3546, allocations: 70.48 kB / 0.5613 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.3546, allocations: 20.84 kB / 0.5613 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3547, allocations: 4 kB / 0.5613 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.3547, allocations: 34.56 kB / 0.5614 GB, free: 3.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3547, allocations: 0 / 0.5614 GB, free: 3.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001038/0.3557, allocations: 309.3 kB / 0.5617 GB, free: 3.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.3558, allocations: 63.33 kB / 0.5617 GB, free: 2.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.3561, allocations: 231.6 kB / 0.562 GB, free: 2.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.3561, allocations: 33.64 kB / 0.562 GB, free: 2.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.3562, allocations: 116 kB / 0.5621 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.3562, allocations: 39.64 kB / 0.5621 GB, free: 2.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.3563, allocations: 33.66 kB / 0.5622 GB, free: 2.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3564, allocations: 330.8 kB / 0.5625 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/0.3565, allocations: 35.98 kB / 0.5625 GB, free: 2.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.585e-05/0.3566, allocations: 35.97 kB / 0.5626 GB, free: 2.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.3568, allocations: 88.83 kB / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3568, allocations: 0 / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000257/0.3571, allocations: 137.6 kB / 0.5628 GB, free: 1.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3571, allocations: 4 kB / 0.5628 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3571, allocations: 0.7031 kB / 0.5628 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3571, allocations: 8 kB / 0.5628 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3572, allocations: 27.92 kB / 0.5628 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3572, allocations: 3.938 kB / 0.5628 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.3573, allocations: 7.984 kB / 0.5628 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3573, allocations: 8 kB / 0.5628 GB, free: 1.824 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 (13): * Single equations (assignments): 13 * 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.0001084/0.3574, allocations: 126.4 kB / 0.5629 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.3574, allocations: 19.89 kB / 0.563 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.3578, allocations: 166.8 kB / 0.5631 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3578, allocations: 4 kB / 0.5631 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3578, allocations: 7.938 kB / 0.5631 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3578, allocations: 4 kB / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.3584, allocations: 402.8 kB / 0.5635 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3584, allocations: 7.938 kB / 0.5635 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.457e-05/0.3585, allocations: 27.92 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3585, allocations: 0 / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.3585, allocations: 7.984 kB / 0.5636 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3585, allocations: 4.031 kB / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3585, allocations: 0 / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.3589, allocations: 236.3 kB / 0.5638 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.3589, allocations: 15.84 kB / 0.5638 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.3589, allocations: 11.98 kB / 0.5638 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.359, allocations: 0 / 0.5638 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.359, allocations: 7.984 kB / 0.5638 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.359, allocations: 8 kB / 0.5638 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.3592, allocations: 185.1 kB / 0.564 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3592, allocations: 4 kB / 0.564 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.3595, allocations: 27.88 kB / 0.564 GB, free: 0.5039 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001853/0.3613, allocations: 499.1 kB / 0.5645 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002566/0.3616, allocations: 95.88 kB / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3616, allocations: 0 / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.3617, allocations: 47.92 kB / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.362, allocations: 29.3 kB / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006146/0.3626, allocations: 307.7 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.3628, allocations: 113 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.433e-05/0.3628, allocations: 20.47 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.3629, allocations: 15.44 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3629, allocations: 0 / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Templates: time 0.00494/0.3678, allocations: 1.616 MB / 0.5667 GB, free: 13.96 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.311420341953635]