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.001313/0.001313, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001381/0.001381, allocations: 161.3 kB / 24.99 MB, free: 9.273 MB / 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 1.137/1.137, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.3416/0.3416, allocations: 32.81 MB / 294.6 MB, free: 1.18 MB / 266.7 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 376.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.334e-05, allocations: 5.688 kB / 376.1 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002953/0.002987, allocations: 1.723 MB / 377.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.004543, allocations: 0.9819 MB / 378.8 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.004656, allocations: 0 / 378.8 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.005113, allocations: 91.61 kB / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005522/0.005665, allocations: 123.4 kB / 379 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.006015, allocations: 71.69 kB / 379.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.006321, allocations: 115.6 kB / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.257e-05/0.006394, allocations: 4.234 kB / 379.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.006597, allocations: 63.75 kB / 379.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.006766, allocations: 47.89 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.006797, allocations: 7.984 kB / 379.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.006938, allocations: 39.92 kB / 379.3 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.977e-05/0.007037, allocations: 19.92 kB / 379.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.007105, allocations: 19.88 kB / 379.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.007365, allocations: 91.66 kB / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.403e-06/0.007372, allocations: 8 kB / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.007373, allocations: 0 / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.475e-06/0.007381, allocations: 0 / 379.5 MB, free: 1.469 MB / 346.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.0007492/0.00813, allocations: 443.9 kB / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.008192, allocations: 12.03 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.497e-05/0.008277, allocations: 8.891 kB / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.008629, allocations: 160.3 kB / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.008668, allocations: 384 / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.008686, allocations: 384 / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.00893, allocations: 58.94 kB / 380.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.008942, allocations: 15.88 kB / 380.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.008956, allocations: 0 / 380.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.00897, allocations: 3.984 kB / 380.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.64e-05/0.009026, allocations: 7.984 kB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.009263, allocations: 144.7 kB / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.009425, allocations: 51.05 kB / 380.4 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.009466, allocations: 11.69 kB / 380.4 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.009483, allocations: 4 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.009636, allocations: 69 kB / 380.4 MB, free: 372 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.296e-06/0.009639, allocations: 4 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003001/0.009939, allocations: 89.5 kB / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.009983, allocations: 51.41 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.01021, allocations: 242.7 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.01023, allocations: 29.69 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.01031, allocations: 154.9 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.01036, allocations: 23.83 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.01041, allocations: 23.38 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.01056, allocations: 0.4923 MB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.263e-05/0.01059, allocations: 8 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.01063, allocations: 31.36 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.125e-05/0.0107, allocations: 47.56 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01071, allocations: 0 / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001428/0.01085, allocations: 73.59 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.01087, allocations: 4 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.01087, allocations: 3.938 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.01089, allocations: 7.922 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.687e-05/0.01099, allocations: 12 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.01099, allocations: 0 / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.251e-05/0.01104, allocations: 4.031 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.01104, allocations: 4 kB / 381.7 MB, free: 14.98 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 9.799e-05/0.01114, allocations: 164.6 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.01117, allocations: 11.91 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.01136, allocations: 90.7 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01137, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01137, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01138, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.01153, allocations: 156.5 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01154, allocations: 0 / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.01158, allocations: 11.98 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01158, allocations: 0 / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.01159, allocations: 4 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.0116, allocations: 3.938 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.0116, allocations: 0 / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.01177, allocations: 116.5 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.0118, allocations: 15.89 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.01182, allocations: 4 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.331e-05/0.01187, allocations: 3.938 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.01191, allocations: 11.92 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.01193, allocations: 8 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.01207, allocations: 177.1 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01207, allocations: 4 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002786/0.01234, allocations: 19.98 kB / 382.5 MB, free: 14.12 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.001322/0.01367, allocations: 378.6 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.01385, allocations: 35.67 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01385, allocations: 0 / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.187e-05/0.01392, allocations: 31.61 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.01429, allocations: 35.86 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.01491, allocations: 216.8 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.049e-05/0.01497, allocations: 67.33 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.591e-05/0.01502, allocations: 12.56 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.01507, allocations: 20.48 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of SimCode: time 1.784e-06/0.01507, allocations: 0 / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of Templates: time 0.005468/0.02054, allocations: 1.65 MB / 385 MB, free: 11.79 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] 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","",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.494826345006004]