Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.001925/0.001925, allocations: 91.62 kB / 20.96 MB, free: 3.457 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.001978/0.001978, allocations: 161.3 kB / 24.27 MB, free: 152 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 1.614/1.614, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.3685/0.3685, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.443e-05, allocations: 5.688 kB / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003623/0.003657, allocations: 1.743 MB / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.006972, allocations: 1.695 MB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.007052, allocations: 7.938 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.00739, allocations: 39.72 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.0078, allocations: 103.4 kB / 381 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.008033, allocations: 83.59 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.008241, allocations: 107.6 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.746e-05/0.008329, allocations: 11.98 kB / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.008454, allocations: 59.77 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.008601, allocations: 35.89 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.008627, allocations: 4 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.008843, allocations: 103.9 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.008903, allocations: 19.92 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.008959, allocations: 23.92 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.00929, allocations: 179.3 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.009294, allocations: 0 / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.009295, allocations: 0 / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.0093, allocations: 0 / 381.6 MB, free: 14.64 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006997/0.01, allocations: 455.5 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.01004, allocations: 8.031 kB / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.01011, allocations: 16.88 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.01038, allocations: 152.9 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.01039, allocations: 8.375 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.01042, allocations: 4.375 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.01064, allocations: 102.6 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.01065, allocations: 4 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.01066, allocations: 0 / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.01066, allocations: 0 / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.195e-05/0.01074, allocations: 15.98 kB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.01118, allocations: 295.7 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.01137, allocations: 67.09 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.145e-05/0.01143, allocations: 23.69 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.01145, allocations: 4 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.01163, allocations: 69.03 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.01163, allocations: 4 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006106/0.01224, allocations: 177.5 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.01232, allocations: 77.11 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.01259, allocations: 232.7 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.01261, allocations: 25.7 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.01272, allocations: 150.9 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.01276, allocations: 27.78 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.01282, allocations: 35.31 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002843/0.01311, allocations: 0.504 MB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.01317, allocations: 20.17 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.01327, allocations: 80.75 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.0134, allocations: 63.44 kB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.0134, allocations: 0 / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002426/0.01365, allocations: 113.5 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01366, allocations: 4 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01367, allocations: 0 / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.01368, allocations: 4 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.01378, allocations: 24 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.01379, allocations: 3.984 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.01384, allocations: 4 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.01384, allocations: 0 / 384.3 MB, free: 11.66 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 (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.0001459/0.01399, allocations: 168.5 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.01402, allocations: 11.95 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.0143, allocations: 118.3 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.0143, allocations: 4 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01431, allocations: 0 / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.01431, allocations: 0 / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/0.01488, allocations: 421 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01489, allocations: 0 / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.01493, allocations: 8 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.01493, allocations: 4 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.01495, allocations: 3.984 kB / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01495, allocations: 0 / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01495, allocations: 0 / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.01528, allocations: 275.4 kB / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.01531, allocations: 7.953 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.01535, allocations: 0 / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/0.01544, allocations: 16.02 kB / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.01548, allocations: 7.938 kB / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.0155, allocations: 11.92 kB / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.01566, allocations: 173.7 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01566, allocations: 0 / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003135/0.01597, allocations: 51.86 kB / 385.6 MB, free: 10.32 MB / 362.7 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.00383/0.0198, allocations: 0.595 MB / 386.2 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.02004, allocations: 63.61 kB / 386.2 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.02004, allocations: 0 / 386.2 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.075e-05/0.02013, allocations: 35.67 kB / 386.2 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.02053, allocations: 38.97 kB / 386.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005171/0.02105, allocations: 221.8 kB / 386.5 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.02136, allocations: 89.56 kB / 386.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.219e-05/0.02142, allocations: 17.28 kB / 386.6 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.02148, allocations: 20.48 kB / 386.6 MB, free: 9.434 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02148, allocations: 0 / 386.6 MB, free: 9.434 MB / 362.7 MB Notification: Performance of Templates: time 0.007071/0.02855, allocations: 2.525 MB / 389.2 MB, free: 6.934 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.963733070064336]