Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.0009408/0.0009408, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.00163/0.00163, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.045/1.045, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1253/0.1253, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.311e-05, allocations: 6.25 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002514/0.002547, allocations: 1.74 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.003601, allocations: 0.7959 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.003678, allocations: 4 kB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.003998, allocations: 47.75 kB / 350.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.00421, allocations: 55.7 kB / 350.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.004423, allocations: 87.69 kB / 350.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.004572, allocations: 91.7 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.004677, allocations: 8.219 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.004761, allocations: 59.77 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.25e-05/0.004843, allocations: 23.92 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.004866, allocations: 4 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.415e-05/0.00496, allocations: 47.91 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.005019, allocations: 19.92 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.005069, allocations: 19.92 kB / 350.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.005306, allocations: 103.5 kB / 350.9 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.005311, allocations: 4 kB / 350.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.005312, allocations: 0 / 350.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.005319, allocations: 0 / 350.9 MB, free: 6.242 MB / 282.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.0005099/0.005829, allocations: 439.9 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.005865, allocations: 16.02 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.005913, allocations: 16.84 kB / 351.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.006049, allocations: 149.8 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.006067, allocations: 4.375 kB / 351.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.006087, allocations: 4.375 kB / 351.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.006206, allocations: 62.94 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.006219, allocations: 7.875 kB / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.006228, allocations: 0 / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.006236, allocations: 0 / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.323e-05/0.006269, allocations: 11.98 kB / 351.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.006535, allocations: 283.8 kB / 351.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.394e-05/0.006629, allocations: 55.16 kB / 351.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.006658, allocations: 27.56 kB / 351.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.006668, allocations: 3.938 kB / 351.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.459e-05/0.006753, allocations: 65.05 kB / 352 MB, free: 4.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.006754, allocations: 0 / 352 MB, free: 4.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003634/0.007118, allocations: 157.7 kB / 352.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.007151, allocations: 51.41 kB / 352.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.007246, allocations: 236 kB / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.007254, allocations: 33.7 kB / 352.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.007289, allocations: 146.9 kB / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.007313, allocations: 35.73 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.007341, allocations: 31.38 kB / 352.7 MB, free: 4.254 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.007401, allocations: 0.4923 MB / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.408e-05/0.007425, allocations: 15.98 kB / 353.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.007454, allocations: 31.31 kB / 353.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.228e-05/0.007506, allocations: 59.36 kB / 353.3 MB, free: 3.629 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007507, allocations: 0 / 353.3 MB, free: 3.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.406e-05/0.007601, allocations: 89.58 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.007612, allocations: 8 kB / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007617, allocations: 0 / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.007631, allocations: 0 / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/0.007695, allocations: 19.97 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.0077, allocations: 4 kB / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.007724, allocations: 0 / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.007731, allocations: 8 kB / 353.4 MB, free: 3.496 MB / 282.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 4.731e-05/0.007778, allocations: 168.4 kB / 353.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.007791, allocations: 15.91 kB / 353.6 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.007914, allocations: 107.3 kB / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007916, allocations: 3.938 kB / 353.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.00792, allocations: 3.984 kB / 353.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.007925, allocations: 4 kB / 353.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.008158, allocations: 389 kB / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.008159, allocations: 0 / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.008185, allocations: 8 kB / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008187, allocations: 0 / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.008195, allocations: 4 kB / 354.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.008197, allocations: 0 / 354.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.008198, allocations: 8.016 kB / 354.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.008305, allocations: 267.3 kB / 354.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.008316, allocations: 7.953 kB / 354.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.008334, allocations: 4 kB / 354.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.00837, allocations: 0 / 354.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.008404, allocations: 11.98 kB / 354.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.008416, allocations: 4 kB / 354.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.289e-05/0.008469, allocations: 167.8 kB / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008469, allocations: 0 / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001727/0.008641, allocations: 31.92 kB / 354.6 MB, free: 2.227 MB / 282.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.0008854/0.009527, allocations: 439.2 kB / 355 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.009643, allocations: 59.58 kB / 355 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.009645, allocations: 0 / 355 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-05/0.009684, allocations: 31.62 kB / 355.1 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.009907, allocations: 39.42 kB / 355.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.01023, allocations: 217.1 kB / 355.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.098e-05/0.01026, allocations: 71.45 kB / 355.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.017e-05/0.01029, allocations: 12.48 kB / 355.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.01032, allocations: 20.48 kB / 355.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01032, allocations: 3.938 kB / 355.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of Templates: time 0.003623/0.01394, allocations: 1.974 MB / 357.4 MB, free: 15.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.21848376467824]