Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.001295/0.001295, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001292/0.001292, allocations: 172.4 kB / 24.91 MB, free: 8.266 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.9409/0.9409, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.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.2386/0.2386, allocations: 32.8 MB / 294.6 MB, free: 1.258 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.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.68e-05, allocations: 4.984 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.001933/0.001949, allocations: 1.635 MB / 324.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.003156, allocations: 1.293 MB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.003218, allocations: 4 kB / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.003438, allocations: 27.72 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.003697, allocations: 83.62 kB / 326.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.00389, allocations: 115.5 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.004002, allocations: 71.81 kB / 326.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.302e-05/0.004075, allocations: 7.938 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.536e-05/0.004131, allocations: 39.89 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.206e-05/0.004213, allocations: 19.92 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.004226, allocations: 4 kB / 326.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.004345, allocations: 91.81 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.047e-05/0.004385, allocations: 19.92 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.004411, allocations: 19.92 kB / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.004609, allocations: 131.6 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004611, allocations: 0 / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004611, allocations: 0 / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.004615, allocations: 0 / 326.8 MB, free: 6.117 MB / 298.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.0003476/0.004962, allocations: 301.4 kB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.004994, allocations: 8.031 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.005023, allocations: 4.938 kB / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.005168, allocations: 133.7 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.005179, allocations: 384 / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.0052, allocations: 4.375 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.005379, allocations: 102.4 kB / 327.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.005393, allocations: 192 / 327.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.005403, allocations: 4.125 kB / 327.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.005412, allocations: 4 kB / 327.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.005439, allocations: 7.938 kB / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.005702, allocations: 171.8 kB / 327.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.005832, allocations: 29.39 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.005848, allocations: 12.86 kB / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.005862, allocations: 0 / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.005886, allocations: 42.59 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.005887, allocations: 0 / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002553/0.006142, allocations: 85.45 kB / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.00619, allocations: 89.09 kB / 327.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.006286, allocations: 144.3 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.006296, allocations: 25.7 kB / 327.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.006336, allocations: 88.09 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.00636, allocations: 19.88 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.006387, allocations: 17.66 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.006478, allocations: 322.8 kB / 328.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-06/0.006487, allocations: 8 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-05/0.006518, allocations: 39.42 kB / 328.4 MB, free: 4.305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.966e-05/0.006548, allocations: 27.67 kB / 328.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.006548, allocations: 0 / 328.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.203e-05/0.006601, allocations: 49.56 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.006613, allocations: 10.5 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.006616, allocations: 0 / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.006627, allocations: 0 / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.283e-05/0.00666, allocations: 12.23 kB / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.006663, allocations: 0 / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.006681, allocations: 8 kB / 328.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.006686, allocations: 8.016 kB / 328.5 MB, free: 4.184 MB / 298.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 5.765e-05/0.006744, allocations: 120.6 kB / 328.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.00676, allocations: 11.92 kB / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.57e-05/0.006836, allocations: 58.08 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.006837, allocations: 0 / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.006839, allocations: 0 / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.006841, allocations: 0 / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.007012, allocations: 214.8 kB / 328.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007014, allocations: 3.938 kB / 328.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.007037, allocations: 8 kB / 328.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.007038, allocations: 4 kB / 328.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.007043, allocations: 3.984 kB / 328.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.007044, allocations: 3.938 kB / 329 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.007044, allocations: 0 / 329 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.814e-05/0.007112, allocations: 139.5 kB / 329.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.007122, allocations: 15.89 kB / 329.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.007133, allocations: 3.984 kB / 329.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.993e-05/0.007163, allocations: 4 kB / 329.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.00718, allocations: 0 / 329.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.007184, allocations: 4 kB / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.88e-05/0.007213, allocations: 39.64 kB / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007213, allocations: 4 kB / 329.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001496/0.007362, allocations: 39.81 kB / 329.2 MB, free: 3.457 MB / 298.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.001165/0.008527, allocations: 0.6235 MB / 329.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.152e-05/0.008599, allocations: 24.78 kB / 329.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.008602, allocations: 0 / 329.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.456e-05/0.008617, allocations: 12.86 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.008752, allocations: 31.48 kB / 329.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.009014, allocations: 178.4 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.187e-05/0.009056, allocations: 63.33 kB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.659e-05/0.009093, allocations: 8 kB / 330.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.009152, allocations: 63.36 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009152, allocations: 0 / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of Templates: time 0.003212/0.01236, allocations: 2.007 MB / 332.2 MB, free: 0.7344 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.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.8548050289973617]