Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001368/0.001368, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001109/0.001109, allocations: 170.4 kB / 25.61 MB, free: 8.883 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 0.8846/0.8846, allocations: 177.1 MB / 206 MB, free: 4.516 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.1394/0.1394, allocations: 34.25 MB / 296.8 MB, free: 13.94 MB / 282.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.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.219e-05, allocations: 5.547 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.005178/0.0052, allocations: 1.62 MB / 380.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007181/0.005918, allocations: 0.522 MB / 381.4 MB, free: 21.24 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.005969, allocations: 4 kB / 381.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.00615, allocations: 19.8 kB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.006381, allocations: 87.55 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.006579, allocations: 91.58 kB / 381.6 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.006699, allocations: 63.83 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.464e-05/0.006783, allocations: 11.86 kB / 381.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.032e-05/0.006834, allocations: 31.91 kB / 381.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.872e-05/0.006882, allocations: 23.91 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.006894, allocations: 0 / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.06e-05/0.006954, allocations: 35.94 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.006991, allocations: 15.92 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.946e-05/0.00701, allocations: 11.92 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.007129, allocations: 67.75 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.007131, allocations: 0 / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007132, allocations: 0 / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.007136, allocations: 0 / 381.9 MB, free: 20.78 MB / 314.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.0002661/0.007402, allocations: 408.1 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.007432, allocations: 8.031 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.007462, allocations: 12.89 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.295e-05/0.007554, allocations: 140.4 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.007563, allocations: 4.375 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.007578, allocations: 4.375 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.336e-05/0.007651, allocations: 54.94 kB / 382.5 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.003021/0.01067, allocations: 192 / 382.5 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.01068, allocations: 8.125 kB / 382.5 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.01069, allocations: 0 / 382.5 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.316e-05/0.01071, allocations: 4 kB / 382.5 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.0109, allocations: 248.4 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.01102, allocations: 39.05 kB / 382.8 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.298e-05/0.01103, allocations: 11.69 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.01105, allocations: 8.078 kB / 382.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.01106, allocations: 41.31 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.01106, allocations: 0 / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002611/0.01133, allocations: 89.45 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/0.01134, allocations: 51.41 kB / 383 MB, free: 19.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.126e-05/0.01142, allocations: 200.6 kB / 383.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.01142, allocations: 33.69 kB / 383.2 MB, free: 19.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/0.01145, allocations: 142.9 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.01147, allocations: 15.8 kB / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.0115, allocations: 31.36 kB / 383.4 MB, free: 19.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.01154, allocations: 0.4884 MB / 383.9 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.01155, allocations: 11.92 kB / 383.9 MB, free: 18.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.01156, allocations: 8.062 kB / 383.9 MB, free: 18.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.0116, allocations: 23.67 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-07/0.0116, allocations: 0 / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.904e-05/0.01167, allocations: 57.58 kB / 384 MB, free: 18.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.01168, allocations: 8 kB / 384 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01168, allocations: 0 / 384 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.01169, allocations: 0 / 384 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.421e-05/0.01174, allocations: 11.98 kB / 384 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.01174, allocations: 7.938 kB / 384 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.01176, allocations: 4 kB / 384 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.01176, allocations: 0 / 384 MB, free: 18.44 MB / 314.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 3.939e-05/0.0118, allocations: 160.6 kB / 384.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.01183, allocations: 12.17 kB / 384.2 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.289e-05/0.01192, allocations: 66.12 kB / 384.3 MB, free: 18.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.01192, allocations: 3.984 kB / 384.3 MB, free: 18.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01193, allocations: 0 / 384.3 MB, free: 18.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.01193, allocations: 4 kB / 384.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.01212, allocations: 298 kB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01212, allocations: 0 / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.01215, allocations: 12.3 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01215, allocations: 4 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.01216, allocations: 4 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01216, allocations: 0 / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01216, allocations: 0 / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.001e-05/0.01223, allocations: 211.8 kB / 384.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.01224, allocations: 7.953 kB / 384.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.01225, allocations: 0 / 384.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.8e-05/0.01229, allocations: 7.984 kB / 384.8 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.01231, allocations: 11.94 kB / 384.8 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.01232, allocations: 0 / 384.8 MB, free: 17.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.344e-05/0.01235, allocations: 149.9 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01235, allocations: 0 / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002287/0.01258, allocations: 16 kB / 385 MB, free: 17.43 MB / 314.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.0008426/0.01342, allocations: 380 kB / 385.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003079/0.0165, allocations: 27.67 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.0165, allocations: 0 / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.97e-05/0.01652, allocations: 19.62 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.01679, allocations: 32.27 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.01705, allocations: 164.5 kB / 385.6 MB, free: 16.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.575e-05/0.01707, allocations: 67.2 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.236e-05/0.01711, allocations: 11.97 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.01715, allocations: 82.2 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01715, allocations: 0 / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of Templates: time 0.003675/0.02083, allocations: 1.28 MB / 387 MB, free: 15.46 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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: 2.8470099358819425]