Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001594/0.001594, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002344/0.002344, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.562/1.562, allocations: 230.2 MB / 257.8 MB, free: 8.52 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.2473/0.2473, allocations: 46.89 MB / 361.1 MB, free: 4.66 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-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.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-beta.om_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-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2") [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.002347/0.002347, allocations: 83.88 kB / 0.4968 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3727, allocations: 65.99 MB / 0.5612 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003621/0.3763, allocations: 1.611 MB / 0.5628 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3775, allocations: 0.5616 MB / 0.5633 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.3776, allocations: 0 / 0.5633 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.3778, allocations: 23.84 kB / 0.5634 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.3782, allocations: 79.62 kB / 0.5634 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.3785, allocations: 107.4 kB / 0.5635 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.3787, allocations: 71.77 kB / 0.5636 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3788, allocations: 14.8 kB / 0.5636 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.417e-05/0.3789, allocations: 27.86 kB / 0.5636 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.872e-05/0.379, allocations: 23.86 kB / 0.5637 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.379, allocations: 4 kB / 0.5637 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.3791, allocations: 28 kB / 0.5637 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.3792, allocations: 19.91 kB / 0.5637 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.3792, allocations: 15.88 kB / 0.5637 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.3794, allocations: 87.59 kB / 0.5638 GB, free: 2.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3794, allocations: 0 / 0.5638 GB, free: 2.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3794, allocations: 0 / 0.5638 GB, free: 2.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3795, allocations: 0 / 0.5638 GB, free: 2.398 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.0006321/0.3801, allocations: 398.9 kB / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3801, allocations: 8.031 kB / 0.5642 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.3802, allocations: 8.891 kB / 0.5642 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.3804, allocations: 184.3 kB / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.3804, allocations: 4.375 kB / 0.5644 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.3805, allocations: 4.375 kB / 0.5644 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3806, allocations: 46.23 kB / 0.5644 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3806, allocations: 8.172 kB / 0.5645 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.3806, allocations: 7.938 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3807, allocations: 4 kB / 0.5645 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.886e-05/0.3808, allocations: 27.86 kB / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.3812, allocations: 280.9 kB / 0.5648 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.3815, allocations: 42.5 kB / 0.5648 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.3815, allocations: 24.94 kB / 0.5648 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3816, allocations: 0 / 0.5648 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.3816, allocations: 38.5 kB / 0.5649 GB, free: 1.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3816, allocations: 0 / 0.5649 GB, free: 1.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006388/0.3822, allocations: 145.5 kB / 0.565 GB, free: 1.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3823, allocations: 55.34 kB / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.3825, allocations: 158.1 kB / 0.5652 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3825, allocations: 25.7 kB / 0.5652 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.3826, allocations: 92.14 kB / 0.5653 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.3826, allocations: 19.78 kB / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.3827, allocations: 17.72 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.3829, allocations: 326.8 kB / 0.5657 GB, free: 296 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.3829, allocations: 19.98 kB / 0.5657 GB, free: 276 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.383, allocations: 23.98 kB / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.3831, allocations: 48.83 kB / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3831, allocations: 4 kB / 0.5658 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002058/0.3833, allocations: 89.55 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3834, allocations: 10.44 kB / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3834, allocations: 0 / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.3834, allocations: 4 kB / 0.5659 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.3835, allocations: 15.98 kB / 0.5659 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3835, allocations: 0 / 0.5659 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.137e-05/0.3835, allocations: 4.25 kB / 0.5659 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3835, allocations: 0 / 0.5659 GB, free: 68 kB / 398.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.0001464/0.3837, allocations: 125.8 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.3837, allocations: 3.953 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.384, allocations: 109.9 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.384, allocations: 4 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.384, allocations: 0 / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.384, allocations: 4 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.3845, allocations: 350.5 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3845, allocations: 0 / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.806e-05/0.3846, allocations: 15.92 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3846, allocations: 0 / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3846, allocations: 4 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3846, allocations: 4 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3846, allocations: 3.938 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.3849, allocations: 187.4 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.3849, allocations: 81.06 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.3849, allocations: 0 / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.494e-05/0.385, allocations: 4 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.385, allocations: 15.92 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.385, allocations: 0 / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.3851, allocations: 121.3 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3851, allocations: 0 / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.3854, allocations: 19.94 kB / 0.5669 GB, free: 14.93 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.00153/0.3869, allocations: 401.8 kB / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.3871, allocations: 51.91 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3871, allocations: 0 / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.141e-05/0.3872, allocations: 27.97 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3876, allocations: 22.17 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.3881, allocations: 194 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.3885, allocations: 0.7034 MB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.849e-05/0.3886, allocations: 19.75 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.3886, allocations: 19.38 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3886, allocations: 0 / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of Templates: time 0.004605/0.3932, allocations: 1.14 MB / 0.5694 GB, free: 12.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.302142436150461]