Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.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.01033/0.01033, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.002459/0.002459, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.452/1.452, allocations: 230.5 MB / 258.9 MB, free: 8.008 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.2204/0.2204, allocations: 46.93 MB / 362.3 MB, free: 4.211 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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5") [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.002413/0.002413, allocations: 83.88 kB / 0.4982 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3491, allocations: 66.07 MB / 0.5628 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003043/0.3522, allocations: 1.648 MB / 0.5644 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3532, allocations: 0.5654 MB / 0.5649 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.3533, allocations: 0 / 0.5649 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.3536, allocations: 99.67 kB / 0.565 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.3539, allocations: 103.6 kB / 0.5651 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.3542, allocations: 123.2 kB / 0.5652 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.3544, allocations: 83.75 kB / 0.5653 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3545, allocations: 19.64 kB / 0.5653 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.3546, allocations: 39.89 kB / 0.5654 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3547, allocations: 59.8 kB / 0.5654 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.3547, allocations: 7.938 kB / 0.5654 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.181e-05/0.3548, allocations: 39.98 kB / 0.5655 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.3548, allocations: 23.88 kB / 0.5655 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.3549, allocations: 35.73 kB / 0.5655 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.3551, allocations: 114.2 kB / 0.5656 GB, free: 1.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3551, allocations: 0 / 0.5656 GB, free: 1.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3551, allocations: 0 / 0.5656 GB, free: 1.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3551, allocations: 0 / 0.5656 GB, free: 1.297 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.0004884/0.3556, allocations: 349.5 kB / 0.566 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3556, allocations: 8.031 kB / 0.566 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.3556, allocations: 16.84 kB / 0.566 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.3558, allocations: 146.8 kB / 0.5661 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.3559, allocations: 384 / 0.5661 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3559, allocations: 12.33 kB / 0.5661 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.356, allocations: 54.23 kB / 0.5662 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.356, allocations: 4.188 kB / 0.5662 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.356, allocations: 3.938 kB / 0.5662 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3561, allocations: 0 / 0.5662 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.3562, allocations: 31.91 kB / 0.5662 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.3566, allocations: 275.8 kB / 0.5665 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.3567, allocations: 46.56 kB / 0.5665 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.3568, allocations: 20.94 kB / 0.5666 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3568, allocations: 0 / 0.5666 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3568, allocations: 34.56 kB / 0.5666 GB, free: 192 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3568, allocations: 0 / 0.5666 GB, free: 192 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009492/0.3578, allocations: 249.6 kB / 0.5668 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.3578, allocations: 59.33 kB / 0.5669 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.3581, allocations: 234.8 kB / 0.5671 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.3581, allocations: 25.7 kB / 0.5671 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.3581, allocations: 108.1 kB / 0.5672 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.3582, allocations: 39.64 kB / 0.5673 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.3582, allocations: 17.72 kB / 0.5673 GB, free: 15.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3584, allocations: 330.8 kB / 0.5676 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.3585, allocations: 27.98 kB / 0.5676 GB, free: 15.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.3585, allocations: 35.97 kB / 0.5677 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.3587, allocations: 68.83 kB / 0.5677 GB, free: 14.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.3587, allocations: 8 kB / 0.5677 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002304/0.3589, allocations: 109.6 kB / 0.5678 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3589, allocations: 6.344 kB / 0.5678 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.359, allocations: 7.922 kB / 0.5679 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.359, allocations: 0 / 0.5679 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3591, allocations: 16 kB / 0.5679 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.3591, allocations: 3.984 kB / 0.5679 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.3591, allocations: 8 kB / 0.5679 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.3591, allocations: 4.312 kB / 0.5679 GB, free: 14.79 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 (8): * Single equations (assignments): 8 * 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.0001076/0.3592, allocations: 133.8 kB / 0.568 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.3593, allocations: 11.95 kB / 0.568 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.3596, allocations: 142.9 kB / 0.5682 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3596, allocations: 0 / 0.5682 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3596, allocations: 3.938 kB / 0.5682 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3596, allocations: 0 / 0.5682 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/0.3602, allocations: 402.3 kB / 0.5685 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3602, allocations: 0 / 0.5685 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.3602, allocations: 15.98 kB / 0.5686 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3602, allocations: 4 kB / 0.5686 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.3602, allocations: 3.938 kB / 0.5686 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3602, allocations: 0 / 0.5686 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3602, allocations: 0 / 0.5686 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.3605, allocations: 224.2 kB / 0.5688 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.3606, allocations: 11.94 kB / 0.5688 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.3606, allocations: 3.938 kB / 0.5688 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.3606, allocations: 8 kB / 0.5688 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.3607, allocations: 7.984 kB / 0.5688 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.3607, allocations: 4 kB / 0.5688 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.3608, allocations: 176.3 kB / 0.569 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3608, allocations: 0 / 0.569 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3611, allocations: 23.95 kB / 0.569 GB, free: 13.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001649/0.3628, allocations: 459.5 kB / 0.5694 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.363, allocations: 71.89 kB / 0.5695 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.363, allocations: 0 / 0.5695 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.921e-05/0.3631, allocations: 43.91 kB / 0.5696 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.3634, allocations: 19.73 kB / 0.5696 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.364, allocations: 309 kB / 0.5699 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.3644, allocations: 0.7158 MB / 0.5706 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.3644, allocations: 15.42 kB / 0.5706 GB, free: 12.03 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3644, allocations: 0 / 0.5706 GB, free: 12.03 MB / 414.1 MB Notification: Performance of Templates: time 0.003983/0.3684, allocations: 1.874 MB / 0.5724 GB, free: 10.15 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.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: 7.758796943817288]