Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001647/0.001647, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001903/0.001903, allocations: 213.9 kB / 23.54 MB, free: 5.398 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 230.2 MB / 256.8 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2192/0.2192, allocations: 46.88 MB / 359.9 MB, free: 5 MB / 286.1 MB [Timeout remaining time 90] 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.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") [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.002375/0.002375, allocations: 83.86 kB / 0.495 GB, free: 8.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2902, allocations: 65.97 MB / 0.5594 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002992/0.2932, allocations: 1.635 MB / 0.561 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2942, allocations: 0.5426 MB / 0.5615 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.2942, allocations: 4 kB / 0.5615 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.2945, allocations: 119.6 kB / 0.5617 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.2948, allocations: 123.6 kB / 0.5618 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.2951, allocations: 99.38 kB / 0.5619 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.2953, allocations: 103.7 kB / 0.562 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2954, allocations: 19.66 kB / 0.562 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.774e-05/0.2955, allocations: 47.88 kB / 0.562 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.2956, allocations: 91.77 kB / 0.5621 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.2956, allocations: 4 kB / 0.5621 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.955e-05/0.2957, allocations: 39.98 kB / 0.5622 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.2958, allocations: 31.84 kB / 0.5622 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.2958, allocations: 35.69 kB / 0.5622 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.296, allocations: 130.1 kB / 0.5624 GB, free: 2.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.296, allocations: 0 / 0.5624 GB, free: 2.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.296, allocations: 4 kB / 0.5624 GB, free: 2.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.296, allocations: 4 kB / 0.5624 GB, free: 2.188 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.0005385/0.2966, allocations: 438.5 kB / 0.5628 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2966, allocations: 12.03 kB / 0.5628 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.2966, allocations: 12.84 kB / 0.5628 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.2969, allocations: 215.8 kB / 0.563 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.48e-06/0.2969, allocations: 384 / 0.563 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.2969, allocations: 8.375 kB / 0.563 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.297, allocations: 57.73 kB / 0.5631 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2971, allocations: 4 kB / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2971, allocations: 4 kB / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2971, allocations: 0 / 0.5631 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.403e-05/0.2972, allocations: 27.97 kB / 0.5631 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.2976, allocations: 296.8 kB / 0.5634 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.2977, allocations: 42.5 kB / 0.5634 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.2977, allocations: 20.94 kB / 0.5635 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.2977, allocations: 7.984 kB / 0.5635 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.2978, allocations: 30.56 kB / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2978, allocations: 0 / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000876/0.2986, allocations: 249.1 kB / 0.5637 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.2987, allocations: 51.41 kB / 0.5638 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.299, allocations: 283.7 kB / 0.564 GB, free: 272 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.299, allocations: 25.7 kB / 0.5641 GB, free: 240 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.2991, allocations: 116.1 kB / 0.5642 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.2991, allocations: 23.75 kB / 0.5642 GB, free: 96 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.2992, allocations: 25.7 kB / 0.5642 GB, free: 64 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.2993, allocations: 330.8 kB / 0.5645 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.2994, allocations: 27.92 kB / 0.5646 GB, free: 15.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.2995, allocations: 28.05 kB / 0.5646 GB, free: 15.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.2996, allocations: 60.83 kB / 0.5647 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.2996, allocations: 0 / 0.5647 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00022/0.2999, allocations: 105.6 kB / 0.5648 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2999, allocations: 8 kB / 0.5648 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2999, allocations: 4 kB / 0.5648 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2999, allocations: 0 / 0.5648 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3, allocations: 19.92 kB / 0.5648 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3, allocations: 0 / 0.5648 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.3001, allocations: 7.938 kB / 0.5648 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.3001, allocations: 7.984 kB / 0.5648 GB, free: 15.46 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.00012/0.3002, allocations: 133.8 kB / 0.5649 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.3002, allocations: 15.91 kB / 0.5649 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.3005, allocations: 123 kB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3005, allocations: 0 / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3005, allocations: 4 kB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3005, allocations: 3.938 kB / 0.5651 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.3011, allocations: 415.2 kB / 0.5655 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3011, allocations: 8.016 kB / 0.5655 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.3011, allocations: 12 kB / 0.5655 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.3011, allocations: 7.938 kB / 0.5655 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.3011, allocations: 3.984 kB / 0.5655 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3011, allocations: 0 / 0.5655 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3011, allocations: 0 / 0.5655 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.3014, allocations: 212.6 kB / 0.5657 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.3015, allocations: 96.95 kB / 0.5658 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.3015, allocations: 0 / 0.5658 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.3016, allocations: 8 kB / 0.5658 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.3016, allocations: 7.984 kB / 0.5658 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3016, allocations: 0 / 0.5658 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.3018, allocations: 213.5 kB / 0.566 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3018, allocations: 0 / 0.566 GB, free: 14.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.3021, allocations: 27.94 kB / 0.566 GB, free: 14.08 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.001637/0.3037, allocations: 451.5 kB / 0.5665 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.3039, allocations: 63.91 kB / 0.5665 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3039, allocations: 0 / 0.5665 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.834e-05/0.304, allocations: 31.97 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.3044, allocations: 31.08 kB / 0.5666 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005923/0.3049, allocations: 345.7 kB / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.3053, allocations: 0.7158 MB / 0.5676 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.3053, allocations: 15.44 kB / 0.5676 GB, free: 12.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3053, allocations: 0 / 0.5676 GB, free: 12.54 MB / 414.1 MB Notification: Performance of Templates: time 0.003902/0.3092, allocations: 1.902 MB / 0.5695 GB, free: 10.64 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches