Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001865/0.001865, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001734/0.001734, allocations: 214.7 kB / 23.75 MB, free: 4.668 MB / 14.72 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.558/1.558, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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.3179/0.3179, allocations: 46.93 MB / 360.8 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 67.91 kB / 0.4967 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4345, allocations: 66.03 MB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.004119/0.4386, allocations: 1.624 MB / 0.5627 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.4412, allocations: 1.267 MB / 0.564 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.4412, allocations: 0 / 0.564 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.4415, allocations: 35.78 kB / 0.564 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003829/0.4419, allocations: 79.62 kB / 0.5641 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.4423, allocations: 107.7 kB / 0.5642 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.4426, allocations: 75.75 kB / 0.5642 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.4427, allocations: 8 kB / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.976e-05/0.4428, allocations: 23.92 kB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.443, allocations: 43.77 kB / 0.5643 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.443, allocations: 4 kB / 0.5643 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.4432, allocations: 95.94 kB / 0.5644 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-05/0.4433, allocations: 15.92 kB / 0.5644 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.4433, allocations: 19.88 kB / 0.5644 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.4437, allocations: 153.8 kB / 0.5646 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4437, allocations: 0 / 0.5646 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4437, allocations: 0 / 0.5646 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.4437, allocations: 0 / 0.5646 GB, free: 0.8477 MB / 398.1 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.0006905/0.4444, allocations: 325.7 kB / 0.5649 GB, free: 0.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4445, allocations: 8.031 kB / 0.5649 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.4445, allocations: 12.83 kB / 0.5649 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.4448, allocations: 134.4 kB / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4448, allocations: 4.375 kB / 0.5651 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.4448, allocations: 4.312 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.445, allocations: 67.52 kB / 0.5651 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.445, allocations: 0 / 0.5651 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.4451, allocations: 8 kB / 0.5651 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4451, allocations: 0 / 0.5651 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.4452, allocations: 19.98 kB / 0.5652 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.4458, allocations: 259.9 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.446, allocations: 46.5 kB / 0.5654 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.692e-05/0.4461, allocations: 20.94 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.4461, allocations: 0 / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/0.4462, allocations: 38.56 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4462, allocations: 0 / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007693/0.447, allocations: 145.4 kB / 0.5656 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.447, allocations: 81.11 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.4472, allocations: 144.5 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.4473, allocations: 29.7 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.4473, allocations: 96.06 kB / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.4474, allocations: 23.8 kB / 0.566 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.4474, allocations: 21.7 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4476, allocations: 322.8 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.565e-05/0.4477, allocations: 15.98 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.4478, allocations: 45.62 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.448, allocations: 52.83 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.448, allocations: 192 / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002789/0.4483, allocations: 89.61 kB / 0.5665 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4483, allocations: 8 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4483, allocations: 4.031 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4483, allocations: 0 / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.4484, allocations: 11.98 kB / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4484, allocations: 0 / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.4485, allocations: 4 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.4485, allocations: 15.81 kB / 0.5666 GB, free: 14.63 MB / 414.1 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.000114/0.4486, allocations: 113.8 kB / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.4487, allocations: 11.94 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.449, allocations: 94.06 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.449, allocations: 0 / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.449, allocations: 4 kB / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.449, allocations: 0 / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/0.4497, allocations: 333.5 kB / 0.5671 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4497, allocations: 0 / 0.5671 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.978e-05/0.4497, allocations: 11.98 kB / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.4498, allocations: 8 kB / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4498, allocations: 0 / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.4498, allocations: 3.938 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4498, allocations: 0 / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.4501, allocations: 183.9 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.4501, allocations: 7.953 kB / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.4502, allocations: 8 kB / 0.5673 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.4503, allocations: 19.91 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.4503, allocations: 0 / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.4503, allocations: 0 / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.4505, allocations: 117.4 kB / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4505, allocations: 0 / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004397/0.4509, allocations: 39.86 kB / 0.5675 GB, free: 13.6 MB / 414.1 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.002234/0.4531, allocations: 0.4988 MB / 0.568 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.4534, allocations: 51.95 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4534, allocations: 0 / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.4535, allocations: 27.92 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.454, allocations: 24.89 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.4546, allocations: 169.5 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.455, allocations: 0.6963 MB / 0.5689 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.4551, allocations: 23.75 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.4552, allocations: 15.42 kB / 0.5689 GB, free: 12.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4552, allocations: 0 / 0.5689 GB, free: 12.24 MB / 414.1 MB Notification: Performance of Templates: time 0.006562/0.4617, allocations: 1.799 MB / 0.5707 GB, free: 10.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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: 5.585636224830523]