Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.0019/0.0019, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002025/0.002025, allocations: 165.3 kB / 24.27 MB, free: 156 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.575/1.575, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.341/0.341, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.054e-05, allocations: 5.828 kB / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003262/0.003292, allocations: 1.603 MB / 376.9 MB, free: 3.375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.004457, allocations: 0.5259 MB / 377.4 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.004511, allocations: 4 kB / 377.4 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.004726, allocations: 27.78 kB / 377.4 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.005018, allocations: 83.55 kB / 377.5 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.005266, allocations: 83.66 kB / 377.6 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.005433, allocations: 79.75 kB / 377.7 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.92e-05/0.005523, allocations: 8 kB / 377.7 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.837e-05/0.005601, allocations: 31.91 kB / 377.7 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.005653, allocations: 7.984 kB / 377.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.005673, allocations: 4 kB / 377.7 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-05/0.005755, allocations: 35.92 kB / 377.8 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.005804, allocations: 15.92 kB / 377.8 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.006082, allocations: 7.938 kB / 377.8 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.006286, allocations: 91.64 kB / 377.9 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.006291, allocations: 0 / 377.9 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.006292, allocations: 0 / 377.9 MB, free: 2.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.83e-06/0.006297, allocations: 8 kB / 377.9 MB, free: 2.363 MB / 346.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.0005341/0.006831, allocations: 407.8 kB / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.006868, allocations: 12.03 kB / 378.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.006916, allocations: 12.89 kB / 378.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.007122, allocations: 148.4 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.007131, allocations: 384 / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.007152, allocations: 4.375 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.007292, allocations: 42.25 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.007304, allocations: 192 / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.007316, allocations: 4.125 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.00732, allocations: 4 kB / 378.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.537e-05/0.007405, allocations: 19.98 kB / 378.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.007821, allocations: 275.8 kB / 378.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.008034, allocations: 50.98 kB / 378.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.008087, allocations: 19.69 kB / 378.9 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.008105, allocations: 3.938 kB / 378.9 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.008137, allocations: 37.47 kB / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.008138, allocations: 0 / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000516/0.008654, allocations: 133.7 kB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.008696, allocations: 51.41 kB / 379.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.008903, allocations: 224.8 kB / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.008923, allocations: 25.7 kB / 379.3 MB, free: 0.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.009018, allocations: 146.9 kB / 379.5 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.009042, allocations: 15.91 kB / 379.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.009085, allocations: 19.38 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002773/0.009362, allocations: 0.5 MB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.175e-05/0.009424, allocations: 19.98 kB / 380 MB, free: 28 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.243e-05/0.009466, allocations: 11.94 kB / 380 MB, free: 16 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.009599, allocations: 51.86 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.0096, allocations: 3.938 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001648/0.009765, allocations: 73.62 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.009778, allocations: 8 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.009782, allocations: 0 / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.009794, allocations: 0 / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.009855, allocations: 15.97 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.009861, allocations: 3.938 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.009894, allocations: 4 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.009902, allocations: 8 kB / 380.2 MB, free: 15.84 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 0.0001208/0.01002, allocations: 160.5 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/0.01008, allocations: 15.91 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.0103, allocations: 82.12 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01031, allocations: 4 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01031, allocations: 0 / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01031, allocations: 0 / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.01077, allocations: 345.3 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01077, allocations: 4 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.01082, allocations: 11.98 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01082, allocations: 0 / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.01084, allocations: 8 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.01084, allocations: 0 / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01084, allocations: 192 / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.01113, allocations: 231.8 kB / 381 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.01115, allocations: 7.953 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.01117, allocations: 4 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.01122, allocations: 0 / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.01126, allocations: 11.98 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.01126, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001366/0.0114, allocations: 167.1 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0114, allocations: 0 / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.01163, allocations: 11.94 kB / 381.2 MB, free: 14.72 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.00288/0.01451, allocations: 442.2 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.01471, allocations: 47.67 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01472, allocations: 0 / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.01479, allocations: 35.61 kB / 381.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.01512, allocations: 19.98 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.01564, allocations: 190.5 kB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.01574, allocations: 79.33 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.01579, allocations: 7.984 kB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.01583, allocations: 20.48 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01583, allocations: 0 / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of Templates: time 0.004534/0.02037, allocations: 1.163 MB / 383.2 MB, free: 12.86 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.779031060053967]