Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001059/0.001059, allocations: 83.58 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.001123/0.001123, allocations: 161 kB / 24.56 MB, free: 16 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 0.9875/0.9875, allocations: 177.1 MB / 205 MB, free: 5.617 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.2641/0.2641, allocations: 34.27 MB / 295.7 MB, free: 0.75 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.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.982e-05, allocations: 5.688 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002588/0.002618, allocations: 1.638 MB / 379.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.003899, allocations: 1.286 MB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.003959, allocations: 0 / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.004184, allocations: 27.78 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.004484, allocations: 87.55 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.00477, allocations: 107.6 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.004906, allocations: 71.83 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.004996, allocations: 11.94 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.698e-05/0.005063, allocations: 39.83 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.325e-05/0.005157, allocations: 15.98 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.005172, allocations: 4 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.005325, allocations: 99.75 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.00537, allocations: 19.91 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.005397, allocations: 8 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.005658, allocations: 135.5 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.005662, allocations: 0 / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.005664, allocations: 0 / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.005671, allocations: 4 kB / 381.6 MB, free: 15.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005202/0.006191, allocations: 436 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.006233, allocations: 8.031 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.006279, allocations: 8.891 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.006423, allocations: 136.5 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.006432, allocations: 384 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.006453, allocations: 8.375 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.006594, allocations: 96.03 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.006602, allocations: 192 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.006613, allocations: 12.06 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.00662, allocations: 7.984 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.006648, allocations: 11.92 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.006939, allocations: 275.8 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.007091, allocations: 39.05 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.007113, allocations: 19.62 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.00713, allocations: 3.938 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.007152, allocations: 37.39 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.007152, allocations: 0 / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003534/0.007506, allocations: 105.5 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.00754, allocations: 81.11 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.007654, allocations: 194 kB / 383 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.007662, allocations: 29.7 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.007713, allocations: 146.9 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.00773, allocations: 15.86 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.007762, allocations: 23.38 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.00788, allocations: 0.4884 MB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.007901, allocations: 8 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.832e-05/0.007939, allocations: 53.06 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.713e-05/0.007976, allocations: 19.69 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007977, allocations: 0 / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.735e-05/0.008065, allocations: 69.59 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.008079, allocations: 6.031 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.008083, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.008094, allocations: 4 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.008139, allocations: 8 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.008143, allocations: 3.984 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.008165, allocations: 7.953 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.00817, allocations: 0 / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.682e-05/0.008237, allocations: 160.6 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.008257, allocations: 11.89 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.008368, allocations: 78 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.008375, allocations: 0 / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.008378, allocations: 0 / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008381, allocations: 4 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.008618, allocations: 329.6 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.00862, allocations: 4.062 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.008652, allocations: 15.92 kB / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.008655, allocations: 4 kB / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-06/0.008661, allocations: 0 / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.008662, allocations: 0 / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008663, allocations: 4 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.008767, allocations: 207.8 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.008777, allocations: 7.953 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.008789, allocations: 0 / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-05/0.008821, allocations: 4 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.008848, allocations: 3.984 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.008852, allocations: 4 kB / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.914e-05/0.008911, allocations: 151.2 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008911, allocations: 0 / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001901/0.009101, allocations: 35.88 kB / 384.9 MB, free: 11.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009696/0.01007, allocations: 492.4 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.01017, allocations: 31.61 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01018, allocations: 0 / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.445e-05/0.0102, allocations: 19.69 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.0104, allocations: 27.92 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.0107, allocations: 185.8 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.723e-05/0.01074, allocations: 62.39 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.383e-05/0.01078, allocations: 15.97 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.01081, allocations: 16.5 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01081, allocations: 0 / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.003686/0.0145, allocations: 2.024 MB / 387.8 MB, free: 8.695 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.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.2730321562848985]