Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.0009354/0.0009354, 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.0009371/0.0009371, allocations: 172.6 kB / 25.62 MB, free: 8.914 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.87/0.87, allocations: 177.2 MB / 206.1 MB, free: 4.512 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.1333/0.1333, allocations: 34.26 MB / 296.9 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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.253e-05, allocations: 13.48 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.005166/0.005188, allocations: 1.622 MB / 380.9 MB, free: 21.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.006374, allocations: 1.27 MB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.278e-05/0.006436, allocations: 7.938 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.006643, allocations: 27.78 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.006882, allocations: 83.56 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.00707, allocations: 91.69 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.007188, allocations: 67.72 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.95e-05/0.007267, allocations: 15.83 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.302e-05/0.00732, allocations: 35.92 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.39e-05/0.007414, allocations: 27.89 kB / 382.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.007428, allocations: 4 kB / 382.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.007548, allocations: 87.83 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.007585, allocations: 19.92 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003037/0.01062, allocations: 15.94 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.01081, allocations: 135.5 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.01081, allocations: 0 / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.01081, allocations: 0 / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.01082, allocations: 0 / 382.8 MB, free: 19.89 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.0003154/0.01113, allocations: 424 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.01116, allocations: 12.03 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.0112, allocations: 12.83 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.01131, allocations: 132.5 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.01132, allocations: 8.375 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.01134, allocations: 4.375 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.958e-05/0.01144, allocations: 100 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.01145, allocations: 4.188 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.01145, allocations: 4.125 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.01146, allocations: 0 / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.326e-05/0.01148, allocations: 11.92 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.01168, allocations: 252.4 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.01179, allocations: 39.05 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.01181, allocations: 11.69 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.01182, allocations: 8 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.01184, allocations: 45.34 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.01184, allocations: 0 / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002491/0.01209, allocations: 89.84 kB / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.01211, allocations: 81.05 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/0.01219, allocations: 191.4 kB / 384.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.0122, allocations: 29.7 kB / 384.2 MB, free: 18.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.01223, allocations: 146.8 kB / 384.4 MB, free: 18.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.01225, allocations: 19.84 kB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.01228, allocations: 27.36 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.639e-05/0.01233, allocations: 0.4923 MB / 384.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.01234, allocations: 4 kB / 384.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/0.01236, allocations: 49.06 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.01239, allocations: 19.69 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.01239, allocations: 0 / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.147e-05/0.01246, allocations: 69.5 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.01248, allocations: 7.938 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.01248, allocations: 0 / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.01249, allocations: 4 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.922e-05/0.01253, allocations: 11.98 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.01253, allocations: 0 / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.01256, allocations: 8.031 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.01256, allocations: 0 / 385.1 MB, free: 17.38 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.725e-05/0.0126, allocations: 156.6 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.01262, allocations: 15.89 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.362e-05/0.01271, allocations: 74 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01271, allocations: 0 / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01271, allocations: 0 / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01271, allocations: 0 / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.0129, allocations: 306.3 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.0129, allocations: 0 / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/0.01293, allocations: 12 kB / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.01293, allocations: 0 / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-06/0.01293, allocations: 0 / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01293, allocations: 4 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01293, allocations: 3.938 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.732e-05/0.013, allocations: 211.8 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-06/0.01301, allocations: 3.953 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.01302, allocations: 4 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.868e-05/0.01307, allocations: 0 / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.01309, allocations: 7.984 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.01309, allocations: 4 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.585e-05/0.01313, allocations: 149.2 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01313, allocations: 0 / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.01337, allocations: 35.92 kB / 386.1 MB, free: 16.34 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.004049/0.01742, allocations: 493.5 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.664e-05/0.01751, allocations: 31.61 kB / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01751, allocations: 0 / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.01753, allocations: 15.69 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.01778, allocations: 26.77 kB / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002323/0.01801, allocations: 151.9 kB / 386.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.417e-05/0.01803, allocations: 71.14 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.02e-05/0.01807, allocations: 11.98 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.01813, allocations: 90.19 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01813, allocations: 0 / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of Templates: time 0.006562/0.02469, allocations: 2.039 MB / 389 MB, free: 13.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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: 2.9927820563316345]