Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001916/0.001916, allocations: 83.92 kB / 20.68 MB, free: 1.023 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.002439/0.002439, allocations: 163.9 kB / 23.95 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.464/1.464, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2197/0.2197, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.1e-05, allocations: 6.219 kB / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003169/0.0032, allocations: 1.619 MB / 444.3 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.004384, allocations: 0.5375 MB / 444.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.902e-05/0.004463, allocations: 4 kB / 444.9 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.00476, allocations: 83.73 kB / 444.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.005121, allocations: 123.4 kB / 445.1 MB, free: 3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.005482, allocations: 119 kB / 445.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.005694, allocations: 87.75 kB / 445.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.005797, allocations: 15.97 kB / 445.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.805e-05/0.005895, allocations: 39.91 kB / 445.3 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.006018, allocations: 55.86 kB / 445.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.00604, allocations: 7.938 kB / 445.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.006155, allocations: 47.92 kB / 445.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.006225, allocations: 27.91 kB / 445.5 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.006261, allocations: 11.94 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.006494, allocations: 111.6 kB / 445.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.006497, allocations: 0 / 445.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006498, allocations: 0 / 445.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.006503, allocations: 0 / 445.6 MB, free: 2.488 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005524/0.007055, allocations: 345.6 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.007093, allocations: 8.031 kB / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.007144, allocations: 12.89 kB / 445.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.007365, allocations: 154 kB / 446.1 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.007377, allocations: 384 / 446.1 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.007408, allocations: 8.375 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.007572, allocations: 50.23 kB / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.007586, allocations: 192 / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.0076, allocations: 8.125 kB / 446.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.007605, allocations: 4 kB / 446.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.007726, allocations: 27.97 kB / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.008184, allocations: 248.4 kB / 446.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.008309, allocations: 50.55 kB / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.008369, allocations: 20.8 kB / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.008394, allocations: 0 / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.008432, allocations: 34.64 kB / 446.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.008433, allocations: 3.938 kB / 446.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001012/0.009445, allocations: 241.2 kB / 446.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.009494, allocations: 55.34 kB / 446.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.009767, allocations: 234.8 kB / 447.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.009787, allocations: 25.7 kB / 447.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.717e-05/0.009884, allocations: 116 kB / 447.2 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.009919, allocations: 19.81 kB / 447.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.009969, allocations: 25.7 kB / 447.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.01014, allocations: 326.8 kB / 447.6 MB, free: 352 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.536e-05/0.01024, allocations: 27.98 kB / 447.6 MB, free: 324 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.662e-05/0.01032, allocations: 35.97 kB / 447.6 MB, free: 288 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.01051, allocations: 76.89 kB / 447.7 MB, free: 208 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01051, allocations: 3.938 kB / 447.7 MB, free: 204 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002582/0.01077, allocations: 105.8 kB / 447.8 MB, free: 92 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.01079, allocations: 11.92 kB / 447.8 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.01079, allocations: 0 / 447.8 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.01081, allocations: 0 / 447.8 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.01093, allocations: 23.98 kB / 447.8 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.01093, allocations: 4.062 kB / 447.8 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.01099, allocations: 4 kB / 447.8 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.011, allocations: 4 kB / 447.8 MB, free: 44 kB / 366.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 0.1922/0.2032, allocations: 130.8 kB / 448 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.699e-05/0.2033, allocations: 15.23 kB / 448 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.2037, allocations: 138.8 kB / 448.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2037, allocations: 1.25 kB / 448.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2037, allocations: 3.281 kB / 448.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2037, allocations: 0.5625 kB / 448.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.2042, allocations: 358.5 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.2042, allocations: 0.6094 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-05/0.2043, allocations: 23.14 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2043, allocations: 1.031 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.2043, allocations: 10.97 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2043, allocations: 1.062 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2043, allocations: 0 / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.2045, allocations: 215.8 kB / 448.7 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.2046, allocations: 12.47 kB / 448.7 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.2046, allocations: 12.56 kB / 448.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.2047, allocations: 5.344 kB / 448.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.2047, allocations: 6.438 kB / 448.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.2047, allocations: 4.484 kB / 448.8 MB, free: 18.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.2048, allocations: 177.6 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2048, allocations: 0 / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.2051, allocations: 22.23 kB / 449 MB, free: 18.5 MB / 366.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 (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.001755/0.2068, allocations: 492.2 kB / 449.4 MB, free: 18.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.2071, allocations: 72.48 kB / 449.5 MB, free: 18.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2071, allocations: 0 / 449.5 MB, free: 18.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.2072, allocations: 37.75 kB / 449.6 MB, free: 18.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.2075, allocations: 26.12 kB / 449.6 MB, free: 18.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.208, allocations: 290.8 kB / 449.9 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.739e-05/0.2081, allocations: 100 kB / 450 MB, free: 18.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.186e-05/0.2082, allocations: 18.06 kB / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.2082, allocations: 17.89 kB / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2082, allocations: 0 / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of Templates: time 0.004794/0.213, allocations: 1.39 MB / 451.4 MB, free: 17.95 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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: 4.894123774021864]