Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007294/0.0007294, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001047/0.001777, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009804/0.0009804, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001504/0.002484, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8843/0.8843, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1665/1.051, allocations: 52.5 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] 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.1255/0.1255, allocations: 32.79 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01973/0.1452, allocations: 12.54 MB / 284.5 MB, free: 9.719 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.837e-05, allocations: 5.406 kB / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001827/0.001845, allocations: 1.66 MB / 287.5 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004833/0.002328, allocations: 418.8 kB / 288 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.002371, allocations: 4 kB / 288 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.002527, allocations: 75.7 kB / 288 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.00264, allocations: 71.73 kB / 288.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.002828, allocations: 91.62 kB / 288.2 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.002953, allocations: 75.7 kB / 288.3 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.533e-05/0.003028, allocations: 20.11 kB / 288.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.7e-05/0.003115, allocations: 59.88 kB / 288.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.003191, allocations: 35.91 kB / 288.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.003209, allocations: 4 kB / 288.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.562e-05/0.003285, allocations: 47.86 kB / 288.4 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/0.003323, allocations: 19.92 kB / 288.4 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.003343, allocations: 15.94 kB / 288.5 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.003467, allocations: 79.73 kB / 288.5 MB, free: 5.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.003477, allocations: 0 / 288.5 MB, free: 5.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003477, allocations: 0 / 288.5 MB, free: 5.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.003486, allocations: 0 / 288.5 MB, free: 5.707 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003314/0.003818, allocations: 315.9 kB / 288.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.003846, allocations: 12.02 kB / 288.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.003875, allocations: 12.94 kB / 288.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.003998, allocations: 144.6 kB / 289 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.004005, allocations: 384 / 289 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.004026, allocations: 12.38 kB / 289 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.955e-05/0.004105, allocations: 50.95 kB / 289.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.004116, allocations: 12.14 kB / 289.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.004126, allocations: 7.938 kB / 289.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.004132, allocations: 8 kB / 289.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.00421, allocations: 4 kB / 289.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.004401, allocations: 167.1 kB / 289.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.67e-05/0.004448, allocations: 30.64 kB / 289.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.00446, allocations: 8.953 kB / 289.3 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.004476, allocations: 3.984 kB / 289.3 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.004497, allocations: 42.5 kB / 289.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.004497, allocations: 0 / 289.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000382/0.004879, allocations: 141.4 kB / 289.5 MB, free: 4.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.004905, allocations: 55.41 kB / 289.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.004996, allocations: 168.3 kB / 289.7 MB, free: 4.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.005008, allocations: 33.7 kB / 289.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.005037, allocations: 100.1 kB / 289.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.005057, allocations: 23.75 kB / 289.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.005083, allocations: 21.7 kB / 289.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.491e-05/0.005158, allocations: 326.8 kB / 290.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.005169, allocations: 11.92 kB / 290.2 MB, free: 3.879 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.052e-05/0.00518, allocations: 8 kB / 290.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/0.005208, allocations: 24.83 kB / 290.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005209, allocations: 3.938 kB / 290.3 MB, free: 3.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.804e-05/0.005267, allocations: 65.61 kB / 290.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.005277, allocations: 4 kB / 290.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.00528, allocations: 0 / 290.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.005291, allocations: 0 / 290.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.005345, allocations: 16 kB / 290.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.005348, allocations: 7.984 kB / 290.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.601e-05/0.005364, allocations: 4 kB / 290.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.005368, allocations: 0 / 290.4 MB, free: 3.738 MB / 282.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 (8): * Single equations (assignments): 8 * 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 4.905e-05/0.005417, allocations: 116.6 kB / 290.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.005432, allocations: 11.98 kB / 290.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.058e-05/0.005513, allocations: 70.39 kB / 290.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005515, allocations: 0 / 290.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.005516, allocations: 0 / 290.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.005518, allocations: 0 / 290.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.005719, allocations: 259.9 kB / 290.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.005722, allocations: 4 kB / 290.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.005756, allocations: 15.98 kB / 290.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.005765, allocations: 11.91 kB / 290.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005766, allocations: 0 / 290.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.00577, allocations: 432 / 290.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.005773, allocations: 8 kB / 290.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005774, allocations: 0 / 290.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.721e-05/0.005851, allocations: 168.2 kB / 291 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.00586, allocations: 0 / 291 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.292e-05/0.005893, allocations: 7.984 kB / 291 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.005919, allocations: 16.02 kB / 291 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-06/0.005921, allocations: 0 / 291 MB, free: 3.004 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.753e-05/0.005959, allocations: 49.39 kB / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005959, allocations: 4 kB / 291.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.006094, allocations: 15.94 kB / 291.1 MB, free: 2.934 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001186/0.00728, allocations: 0.6248 MB / 291.7 MB, free: 2.617 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.409e-05/0.007354, allocations: 28.84 kB / 291.7 MB, free: 2.586 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.00736, allocations: 4 kB / 291.7 MB, free: 2.582 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.807e-05/0.007388, allocations: 24.84 kB / 291.8 MB, free: 2.555 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.007566, allocations: 83.12 kB / 291.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.007961, allocations: 239.4 kB / 292.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.57e-05/0.007996, allocations: 63.34 kB / 292.2 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.008033, allocations: 17.17 kB / 292.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.008081, allocations: 55.38 kB / 292.2 MB, free: 2.039 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008082, allocations: 0 / 292.2 MB, free: 2.039 MB / 282.7 MB Notification: Performance of Templates: time 0.002756/0.01084, allocations: 1.481 MB / 293.7 MB, free: 0.5781 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6340970285236835]