Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001437/0.001437, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001454/0.001454, allocations: 161 kB / 24.56 MB, free: 16 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.02/1.02, allocations: 177.1 MB / 205 MB, free: 5.582 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.2669/0.2669, allocations: 34.26 MB / 295.7 MB, free: 0.7617 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.218e-05, allocations: 2.312 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003364/0.003396, allocations: 1.77 MB / 379.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.005068, allocations: 1.009 MB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.005155, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.005505, allocations: 43.66 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.005881, allocations: 99.53 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.006137, allocations: 79.59 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.006363, allocations: 107.6 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.006478, allocations: 7.984 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.006618, allocations: 63.77 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.006717, allocations: 27.91 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.006742, allocations: 4 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.006868, allocations: 43.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.006945, allocations: 23.92 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.006998, allocations: 15.94 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.007251, allocations: 107.6 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.007255, allocations: 0 / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.007257, allocations: 7.938 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.007263, allocations: 0 / 381.5 MB, free: 15.14 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.0005441/0.007807, allocations: 443.9 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.00785, allocations: 16.03 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.007908, allocations: 12.84 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.00813, allocations: 149.8 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.008153, allocations: 4.375 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.008182, allocations: 4.375 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.008354, allocations: 62.94 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.008366, allocations: 3.938 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.008378, allocations: 0 / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.008387, allocations: 3.938 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.937e-05/0.008436, allocations: 11.98 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.008824, allocations: 295.8 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.00897, allocations: 47.17 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.009015, allocations: 27.56 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.009035, allocations: 3.984 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.009189, allocations: 69.05 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.009191, allocations: 0 / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004457/0.009637, allocations: 153.4 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.009673, allocations: 55.41 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.009832, allocations: 242.3 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.009849, allocations: 29.64 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.009917, allocations: 146.9 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.009946, allocations: 27.78 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.009981, allocations: 27.38 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.01011, allocations: 0.4962 MB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.01014, allocations: 11.98 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.01018, allocations: 39.3 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.049e-05/0.01024, allocations: 47.39 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01024, allocations: 4 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001197/0.01036, allocations: 105.5 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.01038, allocations: 10.03 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.01038, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.0104, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.01047, allocations: 12 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.01048, allocations: 4 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.01051, allocations: 3.984 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.01052, allocations: 4 kB / 384 MB, free: 12.39 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 7.88e-05/0.0106, allocations: 171.8 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.01061, allocations: 15.98 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.01077, allocations: 99.12 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01077, allocations: 4 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01077, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01078, allocations: 3.938 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.01106, allocations: 393 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.01106, allocations: 0 / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.0111, allocations: 15.92 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.0111, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.01111, allocations: 4.031 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01111, allocations: 4 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01111, allocations: 384 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.01125, allocations: 255.4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.01126, allocations: 15.91 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.01128, allocations: 4 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.297e-05/0.01132, allocations: 7.984 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.01136, allocations: 4 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.01137, allocations: 11.98 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.976e-05/0.01145, allocations: 176 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01145, allocations: 0 / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.01163, allocations: 27.94 kB / 385.2 MB, free: 11.12 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.0009362/0.01257, allocations: 436 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.01269, allocations: 51.59 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.01269, allocations: 4 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.01273, allocations: 31.61 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.01297, allocations: 27.97 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.01334, allocations: 222.1 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.01338, allocations: 67.34 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.378e-05/0.01341, allocations: 12.97 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.01344, allocations: 16.5 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01344, allocations: 0 / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.003659/0.0171, allocations: 1.87 MB / 388 MB, free: 8.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.3427858627401292]