Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.00115/0.00115, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007399/0.008549, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0009586/0.0009586, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001284/0.002242, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9394/0.9394, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.22/1.159, allocations: 49.51 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1285/0.1285, allocations: 32.34 MB / 253.6 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02167/0.1502, allocations: 12.3 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.559e-05, allocations: 6.25 kB / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.00339/0.003415, allocations: 1.65 MB / 268.9 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007084/0.004124, allocations: 347.2 kB / 269.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.004202, allocations: 3.938 kB / 269.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.004877, allocations: 495.1 kB / 269.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.005287, allocations: 275.3 kB / 270 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.005729, allocations: 151.6 kB / 270.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.005999, allocations: 155.7 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.006099, allocations: 12.19 kB / 270.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.006307, allocations: 159.6 kB / 270.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.006518, allocations: 191.7 kB / 270.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.00654, allocations: 4 kB / 270.6 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.491e-05/0.006625, allocations: 19.98 kB / 270.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.006726, allocations: 87.66 kB / 270.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.006779, allocations: 31.75 kB / 270.8 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.007035, allocations: 187.2 kB / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.015e-05/0.007055, allocations: 0 / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.007057, allocations: 0 / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.007077, allocations: 0 / 270.9 MB, free: 2.781 MB / 266.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.000758/0.007835, allocations: 0.576 MB / 271.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.007879, allocations: 12.03 kB / 271.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.00794, allocations: 24.92 kB / 271.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.008208, allocations: 238.1 kB / 271.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.008222, allocations: 384 / 271.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.008236, allocations: 12.31 kB / 271.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.008395, allocations: 54.94 kB / 271.9 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.008413, allocations: 4.172 kB / 271.9 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.008426, allocations: 7.875 kB / 271.9 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.008433, allocations: 0 / 271.9 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.712e-05/0.00846, allocations: 4 kB / 271.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.008842, allocations: 203.1 kB / 272.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.888e-05/0.008921, allocations: 30.58 kB / 272.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.008943, allocations: 8.859 kB / 272.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.008972, allocations: 4.078 kB / 272.1 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.009003, allocations: 42.5 kB / 272.1 MB, free: 1.477 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.009005, allocations: 0 / 272.1 MB, free: 1.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001571/0.009162, allocations: 53.67 kB / 272.2 MB, free: 1.418 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.009211, allocations: 55.34 kB / 272.3 MB, free: 1.352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/0.009712, allocations: 0.5283 MB / 272.8 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.009725, allocations: 25.7 kB / 272.8 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.009807, allocations: 141.3 kB / 272.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.009831, allocations: 15.84 kB / 273 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.009865, allocations: 17.72 kB / 273 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.009994, allocations: 358.7 kB / 273.3 MB, free: 244 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.01001, allocations: 0 / 273.3 MB, free: 244 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.044e-05/0.01002, allocations: 4 kB / 273.3 MB, free: 240 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.01006, allocations: 19.67 kB / 273.4 MB, free: 216 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.01006, allocations: 0 / 273.4 MB, free: 216 kB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.184e-05/0.01015, allocations: 57.61 kB / 273.4 MB, free: 152 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01017, allocations: 7.938 kB / 273.4 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.01017, allocations: 0 / 273.4 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.01018, allocations: 4 kB / 273.4 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.03e-05/0.01026, allocations: 11.98 kB / 273.4 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.01027, allocations: 0 / 273.4 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.0103, allocations: 4 kB / 273.4 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.01031, allocations: 0 / 273.4 MB, free: 124 kB / 266.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 (3): * Single equations (assignments): 3 * 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 9.535e-05/0.0104, allocations: 112.7 kB / 273.5 MB, free: 0 / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.01046, allocations: 27.91 kB / 273.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.01059, allocations: 73.11 kB / 273.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.0106, allocations: 0 / 273.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.0106, allocations: 0 / 273.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.0106, allocations: 4.375 kB / 273.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.0108, allocations: 137.8 kB / 273.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.0108, allocations: 3.938 kB / 273.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.01084, allocations: 11.94 kB / 273.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.01088, allocations: 35.7 kB / 273.8 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01089, allocations: 3.984 kB / 273.8 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.01089, allocations: 3.938 kB / 273.8 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01089, allocations: 0 / 273.8 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.0109, allocations: 4 kB / 273.8 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.01102, allocations: 147.5 kB / 274 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.01104, allocations: 4 kB / 274 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.0111, allocations: 7.938 kB / 274 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.01114, allocations: 7.984 kB / 274 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.01114, allocations: 4 kB / 274 MB, free: 15.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002735/0.01142, allocations: 275.2 kB / 274.3 MB, free: 15.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.01142, allocations: 0 / 274.3 MB, free: 15.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000226/0.01164, allocations: 23.94 kB / 274.3 MB, free: 15.2 MB / 282.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 (3): * Single equations (assignments): 3 * 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.001366/0.01301, allocations: 472.4 kB / 274.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.451e-05/0.01308, allocations: 12.86 kB / 274.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/0.01309, allocations: 4 kB / 274.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.863e-05/0.01311, allocations: 20.84 kB / 274.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.01334, allocations: 29.95 kB / 274.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000776/0.01412, allocations: 0.5627 MB / 275.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.371e-05/0.0142, allocations: 127.2 kB / 275.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.666e-05/0.01424, allocations: 4 kB / 275.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.01431, allocations: 63.36 kB / 275.6 MB, free: 13.85 MB / 282.7 MB Notification: Performance of SimCode: time 1.283e-06/0.01431, allocations: 0 / 275.6 MB, free: 13.85 MB / 282.7 MB Notification: Performance of Templates: time 0.003959/0.01827, allocations: 1.327 MB / 276.9 MB, free: 12.52 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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.763155760243535]