Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001697/0.001697, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001827/0.001827, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.504/1.504, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2277/0.2277, allocations: 44.94 MB / 359.6 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] 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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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.Test6") [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.002085/0.002085, allocations: 71.89 kB / 0.4943 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3654, allocations: 65.47 MB / 0.5582 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003345/0.3688, allocations: 1.639 MB / 0.5598 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3699, allocations: 0.531 MB / 0.5603 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.37, allocations: 0 / 0.5603 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.3702, allocations: 95.67 kB / 0.5604 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.3706, allocations: 111.6 kB / 0.5605 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.3708, allocations: 95.75 kB / 0.5606 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.371, allocations: 107.7 kB / 0.5607 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.3711, allocations: 14.67 kB / 0.5607 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.912e-05/0.3712, allocations: 47.83 kB / 0.5608 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.3713, allocations: 63.69 kB / 0.5608 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.3713, allocations: 8 kB / 0.5609 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.306e-05/0.3714, allocations: 47.97 kB / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.3715, allocations: 31.91 kB / 0.5609 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.3715, allocations: 27.75 kB / 0.561 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.3717, allocations: 135.1 kB / 0.5611 GB, free: 4.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3718, allocations: 0 / 0.5611 GB, free: 4.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3718, allocations: 0 / 0.5611 GB, free: 4.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3718, allocations: 0 / 0.5611 GB, free: 4.516 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.0005081/0.3723, allocations: 361.5 kB / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.3723, allocations: 11.97 kB / 0.5614 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.3723, allocations: 16.84 kB / 0.5615 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.3726, allocations: 150.2 kB / 0.5616 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-06/0.3726, allocations: 384 / 0.5616 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.3726, allocations: 8.375 kB / 0.5616 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3727, allocations: 69.8 kB / 0.5617 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.3728, allocations: 11.94 kB / 0.5617 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3728, allocations: 7.938 kB / 0.5617 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3728, allocations: 4 kB / 0.5617 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3729, allocations: 35.97 kB / 0.5617 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.3733, allocations: 268.4 kB / 0.562 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.3734, allocations: 62.48 kB / 0.5621 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.3735, allocations: 16.86 kB / 0.5621 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.3735, allocations: 11.98 kB / 0.5621 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.3735, allocations: 34.56 kB / 0.5621 GB, free: 3.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3735, allocations: 0 / 0.5621 GB, free: 3.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009975/0.3745, allocations: 309.4 kB / 0.5624 GB, free: 3.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.3746, allocations: 59.34 kB / 0.5625 GB, free: 2.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.3749, allocations: 243.5 kB / 0.5627 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.3749, allocations: 29.7 kB / 0.5627 GB, free: 2.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.375, allocations: 120 kB / 0.5628 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.375, allocations: 43.64 kB / 0.5629 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.3751, allocations: 25.72 kB / 0.5629 GB, free: 2.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3752, allocations: 326.8 kB / 0.5632 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.703e-05/0.3753, allocations: 35.97 kB / 0.5632 GB, free: 2.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.239e-05/0.3754, allocations: 31.98 kB / 0.5633 GB, free: 2.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.3756, allocations: 96.83 kB / 0.5634 GB, free: 2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3756, allocations: 0 / 0.5634 GB, free: 2 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000278/0.3759, allocations: 137.5 kB / 0.5635 GB, free: 1.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3759, allocations: 4 kB / 0.5635 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3759, allocations: 0 / 0.5635 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3759, allocations: 4 kB / 0.5635 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3761, allocations: 27.92 kB / 0.5635 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.3761, allocations: 3.938 kB / 0.5635 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.3761, allocations: 8 kB / 0.5635 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3761, allocations: 8 kB / 0.5636 GB, free: 1.805 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.0001301/0.3763, allocations: 130.4 kB / 0.5637 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.3763, allocations: 15.91 kB / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.3767, allocations: 163 kB / 0.5639 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3767, allocations: 0 / 0.5639 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3767, allocations: 7.938 kB / 0.5639 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3767, allocations: 7.984 kB / 0.5639 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.3773, allocations: 410.8 kB / 0.5643 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3773, allocations: 7.938 kB / 0.5643 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-05/0.3774, allocations: 27.92 kB / 0.5643 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3774, allocations: 0 / 0.5643 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3774, allocations: 4 kB / 0.5643 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3774, allocations: 3.984 kB / 0.5643 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3774, allocations: 0 / 0.5643 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.3778, allocations: 239.9 kB / 0.5645 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.3778, allocations: 19.88 kB / 0.5645 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.3778, allocations: 8 kB / 0.5646 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.3779, allocations: 3.984 kB / 0.5646 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.3779, allocations: 11.98 kB / 0.5646 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.3779, allocations: 4 kB / 0.5646 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.3781, allocations: 185.1 kB / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3781, allocations: 3.938 kB / 0.5648 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.3784, allocations: 27.94 kB / 0.5648 GB, free: 488 kB / 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.001846/0.3803, allocations: 499.2 kB / 0.5653 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.3805, allocations: 91.88 kB / 0.5653 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3805, allocations: 0 / 0.5653 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.3807, allocations: 55.86 kB / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.381, allocations: 30.67 kB / 0.5654 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.3818, allocations: 341.4 kB / 0.5658 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.3819, allocations: 104.9 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.382, allocations: 23.42 kB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.382, allocations: 64 / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of Templates: time 0.004915/0.3869, allocations: 2.11 MB / 0.5679 GB, free: 13.39 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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: 7.835120717994869]