Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001995/0.001995, allocations: 84.16 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.002112/0.002112, 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.407/1.407, allocations: 177.1 MB / 204.3 MB, free: 9.203 MB / 190.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.1984/0.1984, allocations: 32.81 MB / 293.5 MB, free: 56 kB / 270.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.CombiTable1Dv.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.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.828e-05, allocations: 5.656 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002693/0.002711, allocations: 1.627 MB / 441.8 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.003789, allocations: 0.5531 MB / 442.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.003847, allocations: 0 / 442.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.004124, allocations: 99.61 kB / 442.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.004423, allocations: 123.4 kB / 442.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.004726, allocations: 118.5 kB / 442.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.004918, allocations: 99.73 kB / 442.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.005037, allocations: 19.98 kB / 442.8 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.66e-05/0.005134, allocations: 59.81 kB / 442.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.00526, allocations: 59.86 kB / 442.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.005281, allocations: 4 kB / 442.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.971e-05/0.005381, allocations: 47.92 kB / 442.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.005445, allocations: 31.91 kB / 443 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.005487, allocations: 19.92 kB / 443 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.005695, allocations: 135.5 kB / 443.1 MB, free: 5.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.005696, allocations: 0 / 443.1 MB, free: 5.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.72e-07/0.005697, allocations: 0 / 443.1 MB, free: 5.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.005704, allocations: 0 / 443.1 MB, free: 5.145 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004976/0.006202, allocations: 365.4 kB / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.006232, allocations: 8.031 kB / 443.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.006273, allocations: 16.84 kB / 443.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.006478, allocations: 145.5 kB / 443.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.006488, allocations: 8.375 kB / 443.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.006513, allocations: 8.375 kB / 443.6 MB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.006692, allocations: 82.16 kB / 443.7 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.006707, allocations: 4.188 kB / 443.7 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.006718, allocations: 4.125 kB / 443.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.006722, allocations: 0 / 443.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.006844, allocations: 43.95 kB / 443.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.007279, allocations: 284.3 kB / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.007417, allocations: 58.56 kB / 444.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.001e-05/0.007477, allocations: 28.84 kB / 444.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.007496, allocations: 0 / 444.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.007524, allocations: 42.55 kB / 444.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.007525, allocations: 0 / 444.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001085/0.00861, allocations: 337.3 kB / 444.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.008651, allocations: 59.34 kB / 444.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.00891, allocations: 231.6 kB / 444.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.00893, allocations: 25.7 kB / 444.8 MB, free: 3.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.009001, allocations: 112.1 kB / 444.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.009048, allocations: 47.64 kB / 445 MB, free: 3.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.009097, allocations: 29.7 kB / 445 MB, free: 3.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.009257, allocations: 326.8 kB / 445.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.009367, allocations: 43.97 kB / 445.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.009473, allocations: 52.09 kB / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.009708, allocations: 112.1 kB / 445.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.009709, allocations: 3.938 kB / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002907/0.01, allocations: 153.5 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.01001, allocations: 4 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.01002, allocations: 0 / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.01003, allocations: 0 / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.01016, allocations: 31.97 kB / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.01016, allocations: 4 kB / 445.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.01021, allocations: 11.94 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.01023, allocations: 8 kB / 445.7 MB, free: 2.332 MB / 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 (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.0001123/0.01034, allocations: 138.9 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.01038, allocations: 15.91 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.01078, allocations: 191.5 kB / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.01078, allocations: 0 / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.01078, allocations: 0 / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01079, allocations: 4 kB / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.01143, allocations: 438.8 kB / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.01143, allocations: 0 / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.627e-05/0.01153, allocations: 27.92 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01153, allocations: 0 / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.01155, allocations: 11.94 kB / 446.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01155, allocations: 0 / 446.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01155, allocations: 0 / 446.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.01191, allocations: 259.8 kB / 446.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.01193, allocations: 11.91 kB / 446.8 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.01195, allocations: 7.938 kB / 446.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.01203, allocations: 4 kB / 446.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.01208, allocations: 15.92 kB / 446.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.01209, allocations: 7.984 kB / 446.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001752/0.01226, allocations: 181.1 kB / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01226, allocations: 0 / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.01253, allocations: 35.92 kB / 447.1 MB, free: 0.9375 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 (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.001799/0.01433, allocations: 493.5 kB / 447.5 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.01462, allocations: 107.9 kB / 447.7 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01463, allocations: 4 kB / 447.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.01476, allocations: 55.91 kB / 447.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.01506, allocations: 24.14 kB / 447.7 MB, free: 488 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.01567, allocations: 326.8 kB / 448.1 MB, free: 128 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.01579, allocations: 105.1 kB / 448.2 MB, free: 0 / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.01592, allocations: 30.77 kB / 448.2 MB, free: 21.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.01597, allocations: 17.53 kB / 448.2 MB, free: 21.39 MB / 366.1 MB Notification: Performance of SimCode: time 1.322e-06/0.01597, allocations: 1.156 kB / 448.2 MB, free: 21.39 MB / 366.1 MB Notification: Performance of Templates: time 0.004957/0.02093, allocations: 1.599 MB / 449.8 MB, free: 21.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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: 4.606684528291225]