Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.00113/0.00113, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.004577/0.004577, allocations: 175 kB / 24.82 MB, free: 9.316 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.081/1.081, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.3151/0.3151, allocations: 34.27 MB / 296.1 MB, free: 0.7188 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.322e-05, allocations: 2.312 kB / 378.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.005899/0.005922, allocations: 1.757 MB / 380.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.007236, allocations: 0.9936 MB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.443e-05/0.00733, allocations: 4 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.007628, allocations: 43.64 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.007913, allocations: 95.53 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.008093, allocations: 75.66 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.008426, allocations: 115.6 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/0.008522, allocations: 4 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/0.008611, allocations: 55.83 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.441e-05/0.008685, allocations: 23.91 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.008701, allocations: 8 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-05/0.008789, allocations: 51.84 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.008835, allocations: 19.92 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.00887, allocations: 15.94 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.009032, allocations: 95.66 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.009034, allocations: 0 / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.009035, allocations: 0 / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.009039, allocations: 0 / 381.9 MB, free: 14.94 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.0005073/0.009547, allocations: 447.8 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.00959, allocations: 12.03 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.009627, allocations: 8.891 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.009786, allocations: 159.3 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.009802, allocations: 4.375 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.009822, allocations: 8.375 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.009934, allocations: 54.94 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.009946, allocations: 3.938 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.009952, allocations: 0 / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.00996, allocations: 4 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.527e-05/0.009986, allocations: 11.98 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.01024, allocations: 252.4 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.156e-05/0.01033, allocations: 51.16 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.01036, allocations: 23.67 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.01038, allocations: 3.984 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.811e-05/0.01048, allocations: 76.88 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.736e-06/0.01048, allocations: 0 / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003617/0.01084, allocations: 125.6 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.01088, allocations: 55.34 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.01101, allocations: 219.1 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.01102, allocations: 29.7 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.01108, allocations: 146.8 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.01111, allocations: 27.78 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.01115, allocations: 35.36 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.01128, allocations: 0.4923 MB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.0113, allocations: 7.984 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.974e-05/0.01133, allocations: 35.72 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.899e-05/0.01138, allocations: 43.39 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.01138, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.614e-05/0.01148, allocations: 93.55 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.01149, allocations: 4 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.0115, allocations: 0 / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.01151, allocations: 11.97 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.01157, allocations: 19.92 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.01157, allocations: 0 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.0116, allocations: 4 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.01161, allocations: 4 kB / 384.4 MB, free: 12.29 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 8.362e-05/0.01169, allocations: 160.6 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.01171, allocations: 23.84 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.01185, allocations: 94.39 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.01185, allocations: 0 / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.01185, allocations: 7.984 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01186, allocations: 0 / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.01215, allocations: 353.6 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.01215, allocations: 4 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.01218, allocations: 8 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01218, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.01218, allocations: 3.984 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01219, allocations: 4 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01219, allocations: 3.938 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/0.01272, allocations: 251.4 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.01273, allocations: 15.92 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.01275, allocations: 8 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.01279, allocations: 0 / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.01281, allocations: 7.984 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.01283, allocations: 4 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.334e-05/0.01289, allocations: 155.1 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01289, allocations: 0 / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.01306, allocations: 27.92 kB / 385.5 MB, free: 11.1 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.001062/0.01412, allocations: 436.9 kB / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.01424, allocations: 55.58 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01425, allocations: 3.938 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.01428, allocations: 31.61 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.01452, allocations: 39.09 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.01486, allocations: 202.4 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.01491, allocations: 63.34 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.452e-05/0.01494, allocations: 17.09 kB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.01502, allocations: 90.19 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01502, allocations: 0 / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of Templates: time 0.003821/0.01884, allocations: 2.03 MB / 388.4 MB, free: 8.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.7115022935904562]