Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001331/0.001331, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001469/0.001469, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.468/1.468, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2323/0.2323, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") [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: 83.88 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2915, allocations: 65.98 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003078/0.2946, allocations: 1.619 MB / 0.5628 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2957, allocations: 0.5576 MB / 0.5633 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.2957, allocations: 0 / 0.5633 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.2959, allocations: 23.86 kB / 0.5634 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.2962, allocations: 79.61 kB / 0.5634 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.2965, allocations: 107.7 kB / 0.5635 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.2966, allocations: 67.83 kB / 0.5636 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.2967, allocations: 8 kB / 0.5636 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.899e-05/0.2968, allocations: 23.91 kB / 0.5636 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.482e-05/0.2968, allocations: 31.73 kB / 0.5637 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2968, allocations: 4 kB / 0.5637 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.433e-05/0.2969, allocations: 28 kB / 0.5637 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.297, allocations: 19.91 kB / 0.5637 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.297, allocations: 23.81 kB / 0.5637 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.2972, allocations: 86.33 kB / 0.5638 GB, free: 2.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2972, allocations: 0 / 0.5638 GB, free: 2.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2972, allocations: 0 / 0.5638 GB, free: 2.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.2972, allocations: 0 / 0.5638 GB, free: 2.371 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.000525/0.2977, allocations: 387 kB / 0.5642 GB, free: 1.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2978, allocations: 8.031 kB / 0.5642 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.2978, allocations: 8.891 kB / 0.5642 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.2981, allocations: 198.5 kB / 0.5644 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.2981, allocations: 384 / 0.5644 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.2981, allocations: 8.375 kB / 0.5644 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.2983, allocations: 54.23 kB / 0.5645 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2983, allocations: 192 / 0.5645 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.2983, allocations: 7.922 kB / 0.5645 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2983, allocations: 0 / 0.5645 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.294e-05/0.2984, allocations: 19.98 kB / 0.5645 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.2988, allocations: 284.8 kB / 0.5648 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.299, allocations: 50.5 kB / 0.5648 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.2991, allocations: 16.94 kB / 0.5648 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2991, allocations: 0 / 0.5648 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.2991, allocations: 34.56 kB / 0.5649 GB, free: 1.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2991, allocations: 0 / 0.5649 GB, free: 1.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006154/0.2997, allocations: 157.4 kB / 0.565 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.2998, allocations: 51.41 kB / 0.5651 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.2999, allocations: 154.1 kB / 0.5652 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3, allocations: 25.7 kB / 0.5652 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.3, allocations: 92.14 kB / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3, allocations: 23.78 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.3001, allocations: 13.72 kB / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3002, allocations: 334.7 kB / 0.5657 GB, free: 268 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.3003, allocations: 19.98 kB / 0.5657 GB, free: 248 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-05/0.3004, allocations: 19.98 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3005, allocations: 52.83 kB / 0.5658 GB, free: 172 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3005, allocations: 0 / 0.5658 GB, free: 172 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002062/0.3007, allocations: 89.61 kB / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.3008, allocations: 4 kB / 0.5658 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3008, allocations: 0 / 0.5658 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3008, allocations: 4 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.3009, allocations: 19.86 kB / 0.5659 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.3009, allocations: 0 / 0.5659 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.3009, allocations: 4 kB / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3009, allocations: 0 / 0.5659 GB, free: 44 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.0001241/0.301, allocations: 125.8 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.3011, allocations: 15.89 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.3013, allocations: 93.95 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3013, allocations: 0 / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3013, allocations: 4 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3014, allocations: 0 / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.3019, allocations: 358.7 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3019, allocations: 8.062 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.278e-05/0.3019, allocations: 15.98 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3019, allocations: 4 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.3019, allocations: 0 / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3019, allocations: 0 / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.302, allocations: 0 / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.3022, allocations: 187.3 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.3023, allocations: 85.06 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.3023, allocations: 4 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.3024, allocations: 0 / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.3024, allocations: 15.92 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3024, allocations: 0 / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.687e-05/0.3025, allocations: 117.5 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3025, allocations: 0 / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.3028, allocations: 19.94 kB / 0.5669 GB, free: 14.9 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.001555/0.3043, allocations: 410.3 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.3046, allocations: 51.91 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3046, allocations: 0 / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.334e-05/0.3047, allocations: 27.97 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.305, allocations: 15.09 kB / 0.5674 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.3055, allocations: 198.1 kB / 0.5675 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.3058, allocations: 0.6923 MB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.3059, allocations: 19.75 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.3059, allocations: 23.38 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3059, allocations: 0 / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of Templates: time 0.004079/0.31, allocations: 1.14 MB / 0.5694 GB, free: 12.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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: 4.850866401102394]