Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001087/0.001087, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001045/0.001045, allocations: 165 kB / 24.56 MB, free: 12 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.013/1.013, allocations: 177.1 MB / 205 MB, free: 5.609 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.2642/0.2642, allocations: 34.26 MB / 295.7 MB, free: 0.7461 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.24e-05, allocations: 9.688 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002664/0.002686, allocations: 1.855 MB / 380 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.005151, allocations: 1.804 MB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.842e-05/0.005249, allocations: 0 / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.00557, allocations: 51.64 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.006002, allocations: 155.2 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.006232, allocations: 103.6 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.006474, allocations: 215.2 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.006517, allocations: 5.812 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.006655, allocations: 111.7 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.006791, allocations: 59.8 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.006817, allocations: 12 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.006995, allocations: 107.8 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.007066, allocations: 47.77 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.007117, allocations: 31.86 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.007403, allocations: 203.2 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.007405, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.007407, allocations: 3.984 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.007411, allocations: 0 / 382.9 MB, free: 13.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005532/0.007964, allocations: 0.511 MB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.007999, allocations: 15.97 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.008069, allocations: 20.8 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.008307, allocations: 192.2 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.008327, allocations: 8.375 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.008343, allocations: 4.375 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.00854, allocations: 165.1 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.008549, allocations: 3.938 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.008562, allocations: 0 / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.008569, allocations: 0 / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.008619, allocations: 23.92 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.008795, allocations: 176.3 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.008954, allocations: 102.1 kB / 384.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.009008, allocations: 31.36 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.009022, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.009174, allocations: 116.3 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.009176, allocations: 4 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003011/0.009477, allocations: 141.8 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.009532, allocations: 132.5 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.009769, allocations: 282.8 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.009785, allocations: 29.7 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.009854, allocations: 162.9 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.009895, allocations: 31.78 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.009945, allocations: 31.38 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.01009, allocations: 0.5001 MB / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.055e-05/0.01013, allocations: 20 kB / 385.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-05/0.01021, allocations: 129.5 kB / 385.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/0.01031, allocations: 74.69 kB / 385.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01031, allocations: 0 / 385.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001751/0.01049, allocations: 121.4 kB / 385.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.0105, allocations: 9.875 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.01051, allocations: 3.938 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01052, allocations: 0 / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.01061, allocations: 28.08 kB / 385.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.01062, allocations: 0 / 385.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.01068, allocations: 15.92 kB / 385.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.01068, allocations: 4 kB / 385.9 MB, free: 10.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.952e-05/0.01077, allocations: 168.5 kB / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.01081, allocations: 23.86 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.01103, allocations: 146.8 kB / 386.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01103, allocations: 4 kB / 386.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01103, allocations: 0 / 386.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.01104, allocations: 0 / 386.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.01118, allocations: 180.5 kB / 386.4 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.01118, allocations: 0 / 386.4 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.01121, allocations: 8 kB / 386.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.01121, allocations: 3.984 kB / 386.4 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.01122, allocations: 4 kB / 386.4 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.01123, allocations: 3.938 kB / 386.4 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01123, allocations: 0 / 386.4 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.01142, allocations: 183.9 kB / 386.6 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.01144, allocations: 15.91 kB / 386.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.01147, allocations: 15.92 kB / 386.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.54e-05/0.01152, allocations: 11.94 kB / 386.7 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.01156, allocations: 7.984 kB / 386.7 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.01157, allocations: 8 kB / 386.7 MB, free: 9.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.01171, allocations: 197.8 kB / 386.9 MB, free: 9.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01171, allocations: 0 / 386.9 MB, free: 9.363 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.01198, allocations: 59.86 kB / 386.9 MB, free: 9.305 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001122/0.0131, allocations: 0.4891 MB / 387.4 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.01327, allocations: 71.53 kB / 387.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01328, allocations: 4 kB / 387.5 MB, free: 8.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.068e-05/0.01334, allocations: 43.59 kB / 387.5 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.01363, allocations: 70.56 kB / 387.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.01407, allocations: 286.3 kB / 387.9 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.672e-05/0.01411, allocations: 75.92 kB / 388 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.35e-05/0.01419, allocations: 29.95 kB / 388 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.01424, allocations: 32.48 kB / 388 MB, free: 8.336 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01424, allocations: 0 / 388 MB, free: 8.336 MB / 362.7 MB Notification: Performance of Templates: time 0.006451/0.0207, allocations: 3.744 MB / 391.8 MB, free: 4.645 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.2754316269420087]