Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.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.009329/0.009329, allocations: 106.9 kB / 21.98 MB, free: 5.219 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.002636/0.002636, allocations: 212.4 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.46/1.46, allocations: 230.5 MB / 258.9 MB, free: 8.02 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.2262/0.2262, allocations: 46.93 MB / 362.3 MB, free: 4.188 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7") [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.002548/0.002548, allocations: 79.86 kB / 0.4982 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3553, allocations: 66.07 MB / 0.5627 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003154/0.3584, allocations: 1.624 MB / 0.5643 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3595, allocations: 0.5577 MB / 0.5649 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.3596, allocations: 0 / 0.5649 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.3598, allocations: 27.78 kB / 0.5649 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.3601, allocations: 75.69 kB / 0.565 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.3604, allocations: 119.6 kB / 0.5651 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.3605, allocations: 67.83 kB / 0.5651 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.3606, allocations: 8 kB / 0.5652 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.123e-05/0.3607, allocations: 27.8 kB / 0.5652 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.3608, allocations: 27.84 kB / 0.5652 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.3608, allocations: 4 kB / 0.5652 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-05/0.3609, allocations: 35.98 kB / 0.5652 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.3609, allocations: 11.94 kB / 0.5653 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.361, allocations: 27.75 kB / 0.5653 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.3611, allocations: 90.03 kB / 0.5654 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3611, allocations: 0 / 0.5654 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3611, allocations: 0 / 0.5654 GB, free: 1.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.3611, allocations: 0 / 0.5654 GB, free: 1.57 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.000512/0.3617, allocations: 313.8 kB / 0.5657 GB, free: 1.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3617, allocations: 8.031 kB / 0.5657 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.3617, allocations: 8.891 kB / 0.5657 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.3619, allocations: 134.4 kB / 0.5658 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3619, allocations: 4.375 kB / 0.5658 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.362, allocations: 4.375 kB / 0.5658 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3621, allocations: 54.17 kB / 0.5659 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3621, allocations: 192 / 0.5659 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3621, allocations: 3.938 kB / 0.5659 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3621, allocations: 4 kB / 0.5659 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.737e-05/0.3622, allocations: 27.97 kB / 0.5659 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.3626, allocations: 260 kB / 0.5662 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.3629, allocations: 46.44 kB / 0.5662 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.3629, allocations: 16.94 kB / 0.5662 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.3629, allocations: 0 / 0.5662 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.363, allocations: 34.56 kB / 0.5662 GB, free: 0.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.363, allocations: 4 kB / 0.5663 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005768/0.3635, allocations: 153.6 kB / 0.5664 GB, free: 392 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.3636, allocations: 51.41 kB / 0.5664 GB, free: 328 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.3638, allocations: 161.8 kB / 0.5666 GB, free: 156 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.3638, allocations: 25.7 kB / 0.5666 GB, free: 124 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.3638, allocations: 96.12 kB / 0.5667 GB, free: 24 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.3639, allocations: 23.86 kB / 0.5667 GB, free: 0 / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.3639, allocations: 17.77 kB / 0.5668 GB, free: 15.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3641, allocations: 322.7 kB / 0.5671 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.3641, allocations: 19.98 kB / 0.5671 GB, free: 15.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.218e-05/0.3642, allocations: 23.97 kB / 0.5671 GB, free: 15.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3644, allocations: 52.77 kB / 0.5672 GB, free: 15.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3644, allocations: 4 kB / 0.5672 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001949/0.3646, allocations: 93.55 kB / 0.5672 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3646, allocations: 6.031 kB / 0.5673 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3646, allocations: 3.984 kB / 0.5673 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3646, allocations: 3.938 kB / 0.5673 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.3646, allocations: 12 kB / 0.5673 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3647, allocations: 0 / 0.5673 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.3647, allocations: 7.984 kB / 0.5673 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.3647, allocations: 4 kB / 0.5673 GB, free: 15.42 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.0001087/0.3648, allocations: 129.7 kB / 0.5674 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.3648, allocations: 7.953 kB / 0.5674 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.3651, allocations: 98.3 kB / 0.5675 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3651, allocations: 4 kB / 0.5675 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3651, allocations: 0 / 0.5675 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3651, allocations: 4 kB / 0.5675 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.3656, allocations: 333.5 kB / 0.5678 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3656, allocations: 4 kB / 0.5678 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.3656, allocations: 11.98 kB / 0.5679 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3656, allocations: 0 / 0.5679 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3656, allocations: 0 / 0.5679 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3656, allocations: 3.938 kB / 0.5679 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3656, allocations: 4 kB / 0.5679 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.3659, allocations: 183.5 kB / 0.568 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.3659, allocations: 7.953 kB / 0.568 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3659, allocations: 0 / 0.568 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.366, allocations: 11.92 kB / 0.5681 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.366, allocations: 4 kB / 0.5681 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.366, allocations: 0 / 0.5681 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.3661, allocations: 130.2 kB / 0.5682 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3661, allocations: 4 kB / 0.5682 GB, free: 14.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.3664, allocations: 23.94 kB / 0.5682 GB, free: 14.38 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.001466/0.3679, allocations: 396.2 kB / 0.5686 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.3681, allocations: 47.97 kB / 0.5686 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3681, allocations: 0 / 0.5686 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.29e-05/0.3682, allocations: 31.91 kB / 0.5687 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.3685, allocations: 19.5 kB / 0.5687 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/0.369, allocations: 227.8 kB / 0.5689 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.3694, allocations: 0.6963 MB / 0.5696 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.3694, allocations: 15.38 kB / 0.5696 GB, free: 13.04 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3694, allocations: 0 / 0.5696 GB, free: 13.04 MB / 414.1 MB Notification: Performance of Templates: time 0.003569/0.373, allocations: 1.489 MB / 0.571 GB, free: 11.54 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.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.683253251947463]