Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.00145/0.00145, 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.0017/0.0017, allocations: 211.7 kB / 23.74 MB, free: 4.672 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.691/1.691, 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.2576/0.2576, allocations: 46.94 MB / 360.8 MB, free: 4.254 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 59.91 kB / 0.4967 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4206, allocations: 66.03 MB / 0.5611 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003679/0.4243, allocations: 1.617 MB / 0.5627 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.4256, allocations: 0.5659 MB / 0.5633 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-05/0.4256, allocations: 0 / 0.5633 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.4259, allocations: 19.86 kB / 0.5633 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.4263, allocations: 83.61 kB / 0.5634 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.4266, allocations: 103.7 kB / 0.5635 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.4268, allocations: 67.83 kB / 0.5635 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.4269, allocations: 12 kB / 0.5635 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.763e-05/0.427, allocations: 31.78 kB / 0.5636 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.592e-05/0.4271, allocations: 23.86 kB / 0.5636 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.4271, allocations: 4 kB / 0.5636 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.169e-05/0.4272, allocations: 35.92 kB / 0.5636 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.4272, allocations: 15.92 kB / 0.5636 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.065e-05/0.4273, allocations: 23.81 kB / 0.5637 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.4275, allocations: 82.05 kB / 0.5637 GB, free: 1.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4275, allocations: 0 / 0.5637 GB, free: 1.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4275, allocations: 0 / 0.5637 GB, free: 1.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.4275, allocations: 0 / 0.5637 GB, free: 1.727 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.000532/0.428, allocations: 317.8 kB / 0.5641 GB, free: 1.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4281, allocations: 8.031 kB / 0.5641 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.4281, allocations: 8.891 kB / 0.5641 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.4283, allocations: 130.4 kB / 0.5642 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.4283, allocations: 4.375 kB / 0.5642 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.4283, allocations: 4.375 kB / 0.5642 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.4285, allocations: 53.8 kB / 0.5643 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.4285, allocations: 0 / 0.5643 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.4285, allocations: 4 kB / 0.5643 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4285, allocations: 3.938 kB / 0.5643 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.532e-05/0.4286, allocations: 27.92 kB / 0.5643 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.429, allocations: 251.9 kB / 0.5645 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.4293, allocations: 46.56 kB / 0.5646 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.4293, allocations: 16.94 kB / 0.5646 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.4293, allocations: 4 kB / 0.5646 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.4294, allocations: 34.5 kB / 0.5646 GB, free: 0.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.4294, allocations: 0 / 0.5646 GB, free: 0.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006294/0.43, allocations: 145.5 kB / 0.5648 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.43, allocations: 63.34 kB / 0.5648 GB, free: 496 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.4302, allocations: 148 kB / 0.565 GB, free: 336 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.4302, allocations: 25.7 kB / 0.565 GB, free: 304 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.4303, allocations: 96.12 kB / 0.5651 GB, free: 204 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.4303, allocations: 19.8 kB / 0.5651 GB, free: 184 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.4304, allocations: 25.7 kB / 0.5651 GB, free: 152 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.4305, allocations: 314.8 kB / 0.5654 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.4306, allocations: 23.97 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.4307, allocations: 23.98 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.4308, allocations: 57.02 kB / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4308, allocations: 0 / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001983/0.431, allocations: 85.61 kB / 0.5656 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.431, allocations: 14.28 kB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4311, allocations: 0 / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4311, allocations: 288 / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.4311, allocations: 12 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4311, allocations: 3.984 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.4312, allocations: 7.938 kB / 0.5656 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.4312, allocations: 4 kB / 0.5656 GB, free: 15.6 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.0001106/0.4313, allocations: 117.8 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.4313, allocations: 19.92 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.4316, allocations: 98.06 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.4316, allocations: 3.938 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4316, allocations: 0 / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4316, allocations: 0 / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.4321, allocations: 329.6 kB / 0.5662 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4321, allocations: 3.938 kB / 0.5662 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.4321, allocations: 15.98 kB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4321, allocations: 0 / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4321, allocations: 4 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4321, allocations: 3.938 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4321, allocations: 0 / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.4324, allocations: 187.6 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.4324, allocations: 7.953 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.4324, allocations: 4 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.4325, allocations: 11.92 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.4325, allocations: 4 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.4325, allocations: 4 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.899e-05/0.4326, allocations: 117.5 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4326, allocations: 0 / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.4329, allocations: 15.94 kB / 0.5666 GB, free: 14.58 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.001496/0.4344, allocations: 400.3 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.4346, allocations: 59.89 kB / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4346, allocations: 4 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.653e-05/0.4347, allocations: 27.92 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.435, allocations: 25.42 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.4355, allocations: 190.1 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.4358, allocations: 0.7013 MB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.098e-05/0.4359, allocations: 15.77 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.4359, allocations: 11.44 kB / 0.5679 GB, free: 13.26 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4359, allocations: 4 kB / 0.5679 GB, free: 13.26 MB / 414.1 MB Notification: Performance of Templates: time 0.004133/0.44, allocations: 1.162 MB / 0.5691 GB, free: 12.1 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.665468937950209]