Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001307/0.001307, allocations: 84.45 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.001359/0.001359, allocations: 165 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.4/1.4, allocations: 177.1 MB / 204.3 MB, free: 9.168 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.1973/0.1973, allocations: 32.81 MB / 293.5 MB, free: 24 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 440.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.093e-05, allocations: 4.953 kB / 440.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002903/0.002933, allocations: 1.665 MB / 441.8 MB, free: 6.375 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.004698, allocations: 0.9587 MB / 442.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.004757, allocations: 0 / 442.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.00507, allocations: 79.64 kB / 442.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.005395, allocations: 127.4 kB / 443 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.005566, allocations: 83.59 kB / 443.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.005742, allocations: 111.7 kB / 443.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.005789, allocations: 4.234 kB / 443.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.005905, allocations: 59.77 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.006024, allocations: 51.88 kB / 443.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.006045, allocations: 4 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.252e-05/0.006128, allocations: 35.92 kB / 443.3 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.006189, allocations: 23.91 kB / 443.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.006237, allocations: 19.88 kB / 443.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.006454, allocations: 107.7 kB / 443.5 MB, free: 4.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.006462, allocations: 7.984 kB / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006463, allocations: 0 / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.006475, allocations: 0 / 443.5 MB, free: 4.707 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006925/0.007167, allocations: 341.5 kB / 443.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.00721, allocations: 8.031 kB / 443.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.007262, allocations: 8.891 kB / 443.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.007541, allocations: 165.5 kB / 444 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.007551, allocations: 384 / 444 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.007567, allocations: 4.375 kB / 444 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.007734, allocations: 54.23 kB / 444.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.007751, allocations: 7.922 kB / 444.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.007761, allocations: 0 / 444.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.007766, allocations: 0 / 444.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.459e-05/0.00784, allocations: 19.92 kB / 444.1 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.008067, allocations: 133.3 kB / 444.2 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.008258, allocations: 58.55 kB / 444.3 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.008324, allocations: 16.86 kB / 444.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.008337, allocations: 0 / 444.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.008514, allocations: 71.38 kB / 444.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.008515, allocations: 0 / 444.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003463/0.008861, allocations: 105.5 kB / 444.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.008921, allocations: 55.41 kB / 444.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.009194, allocations: 227.5 kB / 444.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.009216, allocations: 25.7 kB / 444.8 MB, free: 3.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.009293, allocations: 108.1 kB / 444.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.009326, allocations: 11.91 kB / 444.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.00937, allocations: 21.7 kB / 444.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.009557, allocations: 326.8 kB / 445.2 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.00961, allocations: 16 kB / 445.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.157e-05/0.009672, allocations: 29.7 kB / 445.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.009784, allocations: 49.64 kB / 445.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.009786, allocations: 0 / 445.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001837/0.009969, allocations: 81.59 kB / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.009988, allocations: 7.984 kB / 445.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.009996, allocations: 3.938 kB / 445.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.01002, allocations: 4 kB / 445.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/0.01011, allocations: 15.97 kB / 445.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01011, allocations: 0 / 445.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.01017, allocations: 12.25 kB / 445.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.01018, allocations: 0 / 445.5 MB, free: 2.566 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 (7): * Single equations (assignments): 7 * 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.000133/0.01031, allocations: 127 kB / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.01034, allocations: 15.91 kB / 445.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.01058, allocations: 102.8 kB / 445.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.01059, allocations: 4 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.01059, allocations: 0 / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.0106, allocations: 0 / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.01081, allocations: 145.3 kB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01082, allocations: 3.938 kB / 445.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.01084, allocations: 4 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01085, allocations: 3.938 kB / 445.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.01085, allocations: 0 / 445.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.01086, allocations: 3.938 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01086, allocations: 0 / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.01107, allocations: 117 kB / 446 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.0111, allocations: 11.95 kB / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.01112, allocations: 3.984 kB / 446 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.01117, allocations: 15.94 kB / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.0112, allocations: 0 / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.01122, allocations: 4 kB / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.01141, allocations: 173.1 kB / 446.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01141, allocations: 0 / 446.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.01164, allocations: 20 kB / 446.2 MB, free: 1.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0016/0.01324, allocations: 442.2 kB / 446.6 MB, free: 1.512 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.01344, allocations: 43.97 kB / 446.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01344, allocations: 4.062 kB / 446.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.449e-05/0.0135, allocations: 23.92 kB / 446.7 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.01377, allocations: 23.36 kB / 446.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.01427, allocations: 241.5 kB / 447 MB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.83e-05/0.01437, allocations: 92.31 kB / 447 MB, free: 1.043 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.01442, allocations: 20.41 kB / 447.1 MB, free: 1.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.01447, allocations: 16.5 kB / 447.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01447, allocations: 0 / 447.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of Templates: time 0.1715/0.186, allocations: 1.623 MB / 448.7 MB, free: 21.24 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.482679046690464]