Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001162/0.001162, 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.001612/0.001612, allocations: 158 kB / 24.99 MB, free: 9.285 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.071/1.071, allocations: 177.1 MB / 205.3 MB, free: 5.574 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.267/0.267, allocations: 32.8 MB / 294.6 MB, free: 1.297 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 376.1 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.155e-05, allocations: 2.312 kB / 376.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002198/0.002219, allocations: 1.762 MB / 377.9 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.003413, allocations: 1.001 MB / 378.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.925e-05/0.003483, allocations: 4 kB / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.003764, allocations: 43.7 kB / 378.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.004026, allocations: 99.47 kB / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.004159, allocations: 75.66 kB / 379.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.004309, allocations: 111.6 kB / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.004402, allocations: 11.97 kB / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.004479, allocations: 51.78 kB / 379.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.004548, allocations: 27.91 kB / 379.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.004562, allocations: 4 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.004633, allocations: 43.92 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.004683, allocations: 23.92 kB / 379.4 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.004723, allocations: 27.84 kB / 379.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.004887, allocations: 95.66 kB / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00489, allocations: 0 / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00489, allocations: 0 / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.004894, allocations: 4 kB / 379.5 MB, free: 1.492 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.0004041/0.005298, allocations: 447.9 kB / 379.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.005332, allocations: 15.97 kB / 379.9 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.005376, allocations: 12.84 kB / 379.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.005607, allocations: 149.1 kB / 380.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.005624, allocations: 4.375 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.005644, allocations: 8.312 kB / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.005758, allocations: 58.94 kB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.005768, allocations: 7.938 kB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.005776, allocations: 0 / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.005783, allocations: 8 kB / 380.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.887e-05/0.005822, allocations: 7.984 kB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.006104, allocations: 295.7 kB / 380.5 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.365e-05/0.006198, allocations: 47.17 kB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.006232, allocations: 27.61 kB / 380.5 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.006241, allocations: 0 / 380.5 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.423e-05/0.006336, allocations: 68.98 kB / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.006337, allocations: 4 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000355/0.006692, allocations: 149.4 kB / 380.8 MB, free: 68 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.00672, allocations: 55.41 kB / 380.8 MB, free: 0 / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.006878, allocations: 238.3 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.006889, allocations: 25.7 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.006946, allocations: 154.9 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.006971, allocations: 23.8 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.007002, allocations: 27.36 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.007109, allocations: 0.4962 MB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.513e-05/0.007134, allocations: 12 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.441e-05/0.007168, allocations: 31.73 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.74e-05/0.007226, allocations: 63.23 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.007226, allocations: 0 / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001013/0.007328, allocations: 97.58 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.007339, allocations: 4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.007343, allocations: 0 / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.007352, allocations: 3.938 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.007423, allocations: 19.98 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.007428, allocations: 0 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.007454, allocations: 0 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.007459, allocations: 4.031 kB / 382 MB, free: 14.74 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 6.87e-05/0.007528, allocations: 172.2 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.007543, allocations: 11.95 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.007679, allocations: 107.2 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.00768, allocations: 4 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.007683, allocations: 3.938 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.007687, allocations: 0 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.007969, allocations: 400.9 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.007971, allocations: 0 / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.007996, allocations: 8 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.007998, allocations: 8.031 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.008006, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.008007, allocations: 3.938 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.008009, allocations: 4 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.008148, allocations: 255.4 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.008165, allocations: 19.88 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.008182, allocations: 4 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.034e-05/0.008222, allocations: 4 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.008258, allocations: 3.984 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.008272, allocations: 8 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.713e-05/0.008349, allocations: 176.1 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008349, allocations: 0 / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000173/0.008522, allocations: 27.92 kB / 383.2 MB, free: 13.46 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.0009949/0.009517, allocations: 430.4 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.00978, allocations: 55.59 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009782, allocations: 0 / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-05/0.009821, allocations: 27.62 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.01004, allocations: 34.59 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.01037, allocations: 218 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.292e-05/0.01041, allocations: 71.33 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.244e-05/0.01044, allocations: 13.28 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.01047, allocations: 20.48 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01047, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of Templates: time 0.003333/0.01381, allocations: 1.87 MB / 385.9 MB, free: 10.86 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.231819011969492]