Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001417/0.001417, 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.001621/0.001621, allocations: 165.7 kB / 24.99 MB, free: 8.789 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2668/0.2668, allocations: 32.8 MB / 294.6 MB, free: 1.277 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 0 / 376.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/3.006e-05, allocations: 2.312 kB / 376.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.00371/0.00374, allocations: 1.762 MB / 377.9 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.005563, allocations: 1.009 MB / 378.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.00566, allocations: 0 / 378.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.005998, allocations: 51.62 kB / 378.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003899/0.006388, allocations: 99.53 kB / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.006661, allocations: 79.61 kB / 379.1 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.006877, allocations: 111.6 kB / 379.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.007, allocations: 11.98 kB / 379.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.00714, allocations: 55.78 kB / 379.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.168e-05/0.007232, allocations: 27.89 kB / 379.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.007253, allocations: 8 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.007371, allocations: 43.92 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.007436, allocations: 23.91 kB / 379.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.007491, allocations: 23.88 kB / 379.4 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.007745, allocations: 111.6 kB / 379.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.00775, allocations: 0 / 379.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.007751, allocations: 0 / 379.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.007756, allocations: 4 kB / 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006275/0.008384, allocations: 479.6 kB / 380 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.008426, allocations: 8.031 kB / 380 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.008495, allocations: 20.84 kB / 380 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.008731, allocations: 165.2 kB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.008751, allocations: 384 / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.008774, allocations: 8.359 kB / 380.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.00893, allocations: 58.94 kB / 380.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.008945, allocations: 7.938 kB / 380.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.008957, allocations: 4 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.008969, allocations: 4 kB / 380.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.21e-05/0.009022, allocations: 11.94 kB / 380.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.009429, allocations: 295.8 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.009566, allocations: 51.17 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.009609, allocations: 23.61 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.009623, allocations: 0 / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.009761, allocations: 72.97 kB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.009762, allocations: 0 / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005448/0.01031, allocations: 173.3 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.01035, allocations: 59.34 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.01059, allocations: 274.7 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.01061, allocations: 29.7 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.034e-05/0.0107, allocations: 166.9 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.01074, allocations: 23.78 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.01079, allocations: 31.38 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.01096, allocations: 0.5001 MB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.226e-05/0.011, allocations: 12 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-05/0.01105, allocations: 31.36 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.315e-05/0.01114, allocations: 63.23 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01115, allocations: 0 / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001742/0.01132, allocations: 97.52 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.01134, allocations: 4 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01134, allocations: 0 / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.01136, allocations: 4 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.01146, allocations: 15.98 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.01147, allocations: 0 / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.01151, allocations: 4 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.01152, allocations: 8.031 kB / 382.2 MB, free: 14.58 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.0001004/0.01162, allocations: 164.2 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.01165, allocations: 23.84 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.01188, allocations: 111.2 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.01188, allocations: 4 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01189, allocations: 0 / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01189, allocations: 0 / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.01232, allocations: 409 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01233, allocations: 0 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-05/0.01237, allocations: 19.95 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01238, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.01239, allocations: 4 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.01239, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01239, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.01262, allocations: 263.4 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.01264, allocations: 15.91 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.01267, allocations: 4 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.01275, allocations: 7.984 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.01279, allocations: 3.938 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.01281, allocations: 12.36 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001496/0.01296, allocations: 200.5 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01296, allocations: 0 / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003147/0.01327, allocations: 27.94 kB / 383.4 MB, free: 13.25 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.00139/0.01466, allocations: 437.7 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.01483, allocations: 51.59 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01483, allocations: 4 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.926e-05/0.01489, allocations: 35.61 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.01528, allocations: 27.89 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.01584, allocations: 262.5 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.312e-05/0.0159, allocations: 75.33 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.301e-05/0.01596, allocations: 17.27 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.016, allocations: 16.5 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.016, allocations: 0 / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of Templates: time 0.005479/0.02148, allocations: 1.897 MB / 386.2 MB, free: 10.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.293242799118161]