Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001119/0.001119, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 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.001048/0.001048, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9622/0.9622, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2471/0.2471, allocations: 34.26 MB / 295.7 MB, free: 0.7656 MB / 266.7 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.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.68e-05, allocations: 10.19 kB / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002499/0.002525, allocations: 1.715 MB / 379.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.003812, allocations: 0.9936 MB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.37e-05/0.003896, allocations: 4 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.00422, allocations: 47.75 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.004545, allocations: 115.4 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.004739, allocations: 79.59 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.004895, allocations: 95.7 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.004934, allocations: 8.219 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.764e-05/0.005022, allocations: 55.77 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.005097, allocations: 23.92 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.005113, allocations: 4 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.317e-05/0.005196, allocations: 31.97 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.005252, allocations: 35.86 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.005292, allocations: 15.94 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.005455, allocations: 99.59 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005458, allocations: 0 / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005459, allocations: 0 / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.005464, allocations: 0 / 381.4 MB, free: 15.23 MB / 362.7 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.0004798/0.005943, allocations: 471.6 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.00598, allocations: 12.03 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.00603, allocations: 12.84 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.006222, allocations: 169.2 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.006243, allocations: 12.36 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.006253, allocations: 384 / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.006366, allocations: 50.95 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.006377, allocations: 3.938 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.00639, allocations: 3.984 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.006402, allocations: 3.984 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.322e-05/0.006435, allocations: 15.94 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.006617, allocations: 152.6 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.006729, allocations: 51.05 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.006759, allocations: 15.69 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.006772, allocations: 0 / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.006881, allocations: 65.05 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.006882, allocations: 0 / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002012/0.007083, allocations: 97.45 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.007114, allocations: 55.41 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.007266, allocations: 273.6 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.007277, allocations: 25.7 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.007341, allocations: 166.9 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.00737, allocations: 19.88 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.007399, allocations: 27.38 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.007521, allocations: 0.5001 MB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.007543, allocations: 11.98 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.857e-05/0.007571, allocations: 23.62 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.916e-05/0.00762, allocations: 47.3 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007622, allocations: 0 / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.33e-05/0.007706, allocations: 77.53 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.00772, allocations: 8 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.007725, allocations: 3.938 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.007738, allocations: 4.031 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.589e-05/0.007804, allocations: 8 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007808, allocations: 0 / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.00784, allocations: 4 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.007847, allocations: 7.984 kB / 383.8 MB, free: 12.64 MB / 362.7 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 7.977e-05/0.007927, allocations: 156.6 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.007942, allocations: 15.91 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.00807, allocations: 94.84 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.008072, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.008075, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.008078, allocations: 8 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.979e-05/0.008178, allocations: 164.5 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.008179, allocations: 0 / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.008199, allocations: 8 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.008202, allocations: 0 / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.00821, allocations: 3.984 kB / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.008213, allocations: 7.875 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.008215, allocations: 0 / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.582e-05/0.00831, allocations: 124.4 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.008326, allocations: 11.91 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.008345, allocations: 7.984 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.362e-05/0.008369, allocations: 7.938 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.008398, allocations: 4 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.008411, allocations: 7.984 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.071e-05/0.008502, allocations: 192.5 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008502, allocations: 0 / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.008651, allocations: 20 kB / 384.6 MB, free: 11.75 MB / 362.7 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.0008252/0.009476, allocations: 387.8 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.009593, allocations: 39.61 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009595, allocations: 0 / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.646e-05/0.009631, allocations: 27.67 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.009829, allocations: 27.98 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.01021, allocations: 238.6 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.085e-05/0.01025, allocations: 71.33 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.992e-05/0.01028, allocations: 8.484 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.01031, allocations: 20.5 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01031, allocations: 0 / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of Templates: time 0.004083/0.01439, allocations: 1.79 MB / 387.2 MB, free: 9.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.045590151101351]