Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.3 MB / 258 MB, free: 8.195 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2196/0.2196, allocations: 46.93 MB / 361.4 MB, free: 4.367 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 79.86 kB / 0.4972 GB, free: 7.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3459, allocations: 66.03 MB / 0.5617 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.003169/0.3491, allocations: 1.69 MB / 0.5633 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.3512, allocations: 1.298 MB / 0.5646 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.576e-05/0.3513, allocations: 0 / 0.5646 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.3515, allocations: 35.78 kB / 0.5646 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.3518, allocations: 83.61 kB / 0.5647 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.3523, allocations: 179 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.3524, allocations: 79.77 kB / 0.5649 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3526, allocations: 18.78 kB / 0.565 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.6e-05/0.3526, allocations: 31.86 kB / 0.565 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.3528, allocations: 39.83 kB / 0.565 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3528, allocations: 12 kB / 0.565 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.353, allocations: 99.88 kB / 0.5651 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.548e-05/0.3531, allocations: 15.92 kB / 0.5651 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.3531, allocations: 31.8 kB / 0.5652 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.3534, allocations: 155.1 kB / 0.5653 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3534, allocations: 0 / 0.5653 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3534, allocations: 0 / 0.5653 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3534, allocations: 0 / 0.5653 GB, free: 0.7305 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005902/0.354, allocations: 337.7 kB / 0.5656 GB, free: 376 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.354, allocations: 12.03 kB / 0.5657 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.3541, allocations: 12.88 kB / 0.5657 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.3543, allocations: 140.7 kB / 0.5658 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3543, allocations: 4.375 kB / 0.5658 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.3544, allocations: 4.375 kB / 0.5658 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3546, allocations: 75.89 kB / 0.5659 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3546, allocations: 192 / 0.5659 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3546, allocations: 3.938 kB / 0.5659 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3546, allocations: 4 kB / 0.5659 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.3547, allocations: 43.95 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.3553, allocations: 275.8 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.3554, allocations: 54.42 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.505e-05/0.3555, allocations: 28.94 kB / 0.5663 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.3555, allocations: 0 / 0.5663 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3555, allocations: 30.56 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3555, allocations: 0 / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008134/0.3564, allocations: 237.3 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.3564, allocations: 81.11 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.3566, allocations: 145.6 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.3567, allocations: 29.7 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.3567, allocations: 100.1 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.3567, allocations: 23.73 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.3568, allocations: 21.7 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3569, allocations: 326.8 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.3571, allocations: 39.95 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.3572, allocations: 53.69 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.3574, allocations: 96.77 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3574, allocations: 0 / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002975/0.3577, allocations: 125.6 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3577, allocations: 6.5 kB / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3577, allocations: 0 / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3578, allocations: 0 / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.3579, allocations: 23.97 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3579, allocations: 4.312 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.152e-05/0.358, allocations: 12 kB / 0.5676 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.358, allocations: 3.984 kB / 0.5676 GB, free: 14.22 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 (7): * Single equations (assignments): 7 * 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.0001028/0.3581, allocations: 125.7 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.3582, allocations: 7.953 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.3585, allocations: 142.3 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3585, allocations: 0 / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3585, allocations: 0 / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3585, allocations: 0 / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005858/0.3591, allocations: 389.4 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3591, allocations: 0 / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.764e-05/0.3592, allocations: 23.97 kB / 0.5682 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3592, allocations: 7.938 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3592, allocations: 4 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.3592, allocations: 7.938 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3592, allocations: 0 / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.3596, allocations: 219.4 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.3596, allocations: 8.234 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.3596, allocations: 4 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.3597, allocations: 11.92 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.3598, allocations: 15.97 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.3598, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.3599, allocations: 115.2 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3599, allocations: 0 / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.3602, allocations: 39.88 kB / 0.5687 GB, free: 13.03 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 (7): * Single equations (assignments): 7 * 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.00196/0.3621, allocations: 0.4915 MB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.3625, allocations: 91.86 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3625, allocations: 0 / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.3626, allocations: 43.97 kB / 0.5693 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.363, allocations: 15.98 kB / 0.5693 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.3637, allocations: 221.9 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.3641, allocations: 0.7002 MB / 0.5702 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.3642, allocations: 20.64 kB / 0.5702 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.3643, allocations: 27.38 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3643, allocations: 0 / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of Templates: time 0.005892/0.3702, allocations: 1.954 MB / 0.5721 GB, free: 9.578 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.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.2807234125211835]