Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001714/0.001714, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001921/0.001921, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.483/1.483, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2444/0.2444, allocations: 44.94 MB / 359.6 MB, free: 6.078 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.Test27,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") [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.002159/0.002159, allocations: 63.91 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3134, allocations: 65.47 MB / 0.5582 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003345/0.3167, allocations: 1.617 MB / 0.5598 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3178, allocations: 0.5271 MB / 0.5603 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.3179, allocations: 0 / 0.5603 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.3182, allocations: 127.6 kB / 0.5604 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.3186, allocations: 127.6 kB / 0.5605 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.3189, allocations: 115.2 kB / 0.5606 GB, free: 5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.319, allocations: 107.7 kB / 0.5608 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.438e-05/0.3191, allocations: 19.58 kB / 0.5608 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.733e-05/0.3192, allocations: 43.89 kB / 0.5608 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.3194, allocations: 95.69 kB / 0.5609 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3194, allocations: 4 kB / 0.5609 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3195, allocations: 47.92 kB / 0.561 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.3195, allocations: 27.91 kB / 0.561 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.3196, allocations: 27.75 kB / 0.561 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.3198, allocations: 122.2 kB / 0.5611 GB, free: 4.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3198, allocations: 4 kB / 0.5611 GB, free: 4.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3198, allocations: 0 / 0.5611 GB, free: 4.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3198, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005352/0.3203, allocations: 365.3 kB / 0.5615 GB, free: 4.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.3204, allocations: 8.031 kB / 0.5615 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.3204, allocations: 16.84 kB / 0.5615 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.3206, allocations: 166.3 kB / 0.5617 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3206, allocations: 8.375 kB / 0.5617 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.3206, allocations: 384 / 0.5617 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3208, allocations: 65.8 kB / 0.5617 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3208, allocations: 0 / 0.5617 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.3208, allocations: 0 / 0.5617 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3208, allocations: 0 / 0.5617 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.968e-05/0.3209, allocations: 27.97 kB / 0.5618 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.3213, allocations: 256.4 kB / 0.562 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.3214, allocations: 46.53 kB / 0.562 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.3215, allocations: 16.86 kB / 0.5621 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.3215, allocations: 4.094 kB / 0.5621 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.3215, allocations: 34.55 kB / 0.5621 GB, free: 3.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3215, allocations: 0 / 0.5621 GB, free: 3.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008978/0.3224, allocations: 257 kB / 0.5623 GB, free: 3.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.3225, allocations: 55.41 kB / 0.5624 GB, free: 3.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.3228, allocations: 271.8 kB / 0.5627 GB, free: 2.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3228, allocations: 29.7 kB / 0.5627 GB, free: 2.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.3229, allocations: 112.1 kB / 0.5628 GB, free: 2.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.3229, allocations: 27.73 kB / 0.5628 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.323, allocations: 25.72 kB / 0.5628 GB, free: 2.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3231, allocations: 326.8 kB / 0.5632 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.235e-05/0.3232, allocations: 31.97 kB / 0.5632 GB, free: 2.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.703e-05/0.3233, allocations: 31.98 kB / 0.5632 GB, free: 2.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.3235, allocations: 80.88 kB / 0.5633 GB, free: 2.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3235, allocations: 0 / 0.5633 GB, free: 2.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000232/0.3237, allocations: 117.4 kB / 0.5634 GB, free: 2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3237, allocations: 6.812 kB / 0.5634 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3237, allocations: 7.938 kB / 0.5634 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3237, allocations: 0 / 0.5634 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3238, allocations: 15.98 kB / 0.5634 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3238, allocations: 0 / 0.5634 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.3239, allocations: 7.984 kB / 0.5634 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3239, allocations: 15.94 kB / 0.5635 GB, free: 1.949 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 0.0001167/0.324, allocations: 135.1 kB / 0.5636 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.324, allocations: 15.91 kB / 0.5636 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.3243, allocations: 135.3 kB / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3243, allocations: 0 / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3244, allocations: 0 / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3244, allocations: 0 / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.3249, allocations: 378.9 kB / 0.5641 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3249, allocations: 0 / 0.5641 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.285e-05/0.325, allocations: 19.98 kB / 0.5641 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.325, allocations: 0 / 0.5641 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.325, allocations: 8 kB / 0.5641 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.325, allocations: 7.922 kB / 0.5641 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.325, allocations: 0 / 0.5641 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.3253, allocations: 220.2 kB / 0.5643 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.3253, allocations: 15.94 kB / 0.5643 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.3253, allocations: 0 / 0.5643 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.3254, allocations: 11.92 kB / 0.5644 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.3254, allocations: 7.984 kB / 0.5644 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3254, allocations: 4 kB / 0.5644 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.3257, allocations: 208.1 kB / 0.5646 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3257, allocations: 0 / 0.5646 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.3259, allocations: 27.92 kB / 0.5646 GB, free: 0.7031 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 (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.001813/0.3277, allocations: 494.2 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.328, allocations: 75.94 kB / 0.5651 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.328, allocations: 0 / 0.5651 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.3281, allocations: 39.98 kB / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3284, allocations: 30.12 kB / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006467/0.329, allocations: 354 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.3292, allocations: 109.1 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.3292, allocations: 15.44 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3292, allocations: 4 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Templates: time 0.004054/0.3333, allocations: 1.998 MB / 0.5676 GB, free: 13.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.849562760908157]