Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001374/0.001374, allocations: 85.44 kB / 20.68 MB, free: 1.035 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.001585/0.001585, allocations: 163.6 kB / 23.95 MB, free: 4.168 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.396/1.396, allocations: 177.1 MB / 204.3 MB, free: 9.195 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.2044/0.2044, allocations: 32.81 MB / 293.5 MB, free: 52 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.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 440.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.073e-05, allocations: 2.281 kB / 440.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.00329/0.003321, allocations: 1.716 MB / 441.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.005285, allocations: 0.9664 MB / 442.9 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.00539, allocations: 7.938 kB / 442.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.005712, allocations: 31.84 kB / 442.9 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.006127, allocations: 107.4 kB / 443 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.006413, allocations: 83.59 kB / 443.1 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.006635, allocations: 103.6 kB / 443.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.006741, allocations: 11.98 kB / 443.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.006874, allocations: 51.83 kB / 443.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.006977, allocations: 27.91 kB / 443.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.007, allocations: 8 kB / 443.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.007115, allocations: 39.98 kB / 443.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.007178, allocations: 23.86 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.007227, allocations: 19.88 kB / 443.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.007486, allocations: 123.6 kB / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.00749, allocations: 0 / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007491, allocations: 0 / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.007496, allocations: 0 / 443.5 MB, free: 4.758 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006162/0.008113, allocations: 349.6 kB / 443.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.008152, allocations: 8.031 kB / 443.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.008211, allocations: 24.78 kB / 443.9 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.008463, allocations: 150.3 kB / 444 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.008481, allocations: 4.375 kB / 444 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.008504, allocations: 4.375 kB / 444 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.008695, allocations: 58.17 kB / 444.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.008723, allocations: 7.938 kB / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.008738, allocations: 0 / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.008744, allocations: 0 / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.464e-05/0.008838, allocations: 19.98 kB / 444.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.009373, allocations: 232.6 kB / 444.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.009597, allocations: 58.61 kB / 444.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.066e-05/0.009668, allocations: 32.72 kB / 444.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.009693, allocations: 0 / 444.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.00989, allocations: 67.39 kB / 444.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.009892, allocations: 0 / 444.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007514/0.01064, allocations: 185.3 kB / 444.7 MB, free: 3.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/0.01073, allocations: 51.41 kB / 444.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.01103, allocations: 206.2 kB / 444.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.01105, allocations: 29.7 kB / 444.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/0.01114, allocations: 104.1 kB / 445 MB, free: 3.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.01119, allocations: 27.78 kB / 445.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.01125, allocations: 17.72 kB / 445.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.01141, allocations: 326.8 kB / 445.4 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.094e-05/0.01148, allocations: 19.98 kB / 445.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/0.01157, allocations: 41.64 kB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.01171, allocations: 69.62 kB / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01171, allocations: 0 / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002302/0.01194, allocations: 113.5 kB / 445.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.01196, allocations: 6.344 kB / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01197, allocations: 0 / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.01199, allocations: 0 / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.01209, allocations: 16 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.0121, allocations: 3.984 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.01216, allocations: 4.375 kB / 445.7 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.01216, allocations: 0 / 445.7 MB, free: 2.383 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001478/0.01231, allocations: 141.4 kB / 445.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.01235, allocations: 19.95 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.01264, allocations: 119.1 kB / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.01265, allocations: 4 kB / 446 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.01265, allocations: 0 / 446 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01266, allocations: 3.938 kB / 446 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.01318, allocations: 347.2 kB / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01318, allocations: 0 / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.01322, allocations: 19.94 kB / 446.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01323, allocations: 3.938 kB / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.01324, allocations: 0 / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.01324, allocations: 8.031 kB / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01324, allocations: 0 / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.01355, allocations: 216.2 kB / 446.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.01357, allocations: 11.91 kB / 446.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.0136, allocations: 0 / 446.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.01367, allocations: 8 kB / 446.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.01372, allocations: 3.984 kB / 446.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.01373, allocations: 4 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.01391, allocations: 156.2 kB / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01391, allocations: 0 / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003036/0.01421, allocations: 31.92 kB / 446.7 MB, free: 1.234 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001949/0.01616, allocations: 492.8 kB / 447.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.01638, allocations: 59.91 kB / 447.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.01638, allocations: 4.062 kB / 447.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.01647, allocations: 31.92 kB / 447.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.01683, allocations: 26.92 kB / 447.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/0.01741, allocations: 234.1 kB / 447.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.01752, allocations: 92.3 kB / 447.7 MB, free: 488 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.93e-05/0.01759, allocations: 21.03 kB / 447.7 MB, free: 460 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.01763, allocations: 16.5 kB / 447.7 MB, free: 444 kB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.01763, allocations: 0 / 447.7 MB, free: 444 kB / 366.1 MB Notification: Performance of Templates: time 0.185/0.2026, allocations: 1.858 MB / 449.6 MB, free: 21.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.552429992705584]