Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001684/0.001684, allocations: 110.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.002387/0.002387, allocations: 220.1 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.458/1.458, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2516/0.2516, allocations: 46.89 MB / 361.1 MB, free: 4.625 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.002665/0.002665, allocations: 79.88 kB / 0.4968 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3013, allocations: 65.98 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003524/0.3048, allocations: 1.699 MB / 0.5629 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.306, allocations: 0.5653 MB / 0.5634 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.3061, allocations: 4 kB / 0.5634 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006997/0.3068, allocations: 459.1 kB / 0.5639 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005184/0.3073, allocations: 287.3 kB / 0.5642 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.3077, allocations: 131.6 kB / 0.5643 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.3079, allocations: 171.7 kB / 0.5644 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.308, allocations: 19.98 kB / 0.5645 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.3082, allocations: 119.6 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.3085, allocations: 243.5 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.3085, allocations: 4 kB / 0.5648 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3086, allocations: 51.97 kB / 0.5649 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.3087, allocations: 79.69 kB / 0.5649 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.3089, allocations: 106.9 kB / 0.565 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.3093, allocations: 281.2 kB / 0.5653 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3093, allocations: 0 / 0.5653 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3093, allocations: 0 / 0.5653 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.3093, allocations: 4 kB / 0.5653 GB, free: 0.8242 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008544/0.3101, allocations: 0.6568 MB / 0.566 GB, free: 116 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3102, allocations: 8.031 kB / 0.566 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.3102, allocations: 44.66 kB / 0.566 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.3106, allocations: 316.5 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-06/0.3106, allocations: 384 / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.3107, allocations: 12.38 kB / 0.5663 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.3108, allocations: 50.25 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3108, allocations: 4.188 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3109, allocations: 3.938 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3109, allocations: 0 / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.311, allocations: 31.91 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.3115, allocations: 396.7 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.3117, allocations: 54.52 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.3117, allocations: 16.94 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3117, allocations: 0 / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.3118, allocations: 38.56 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.3118, allocations: 0 / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001006/0.3128, allocations: 316.5 kB / 0.5672 GB, free: 14.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3128, allocations: 55.34 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000993/0.3138, allocations: 0.8653 MB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3138, allocations: 25.7 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.3141, allocations: 220.1 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.3141, allocations: 35.73 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.3141, allocations: 21.72 kB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.3143, allocations: 362.7 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.045e-05/0.3144, allocations: 27.98 kB / 0.5688 GB, free: 13.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.366e-05/0.3145, allocations: 19.98 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.3147, allocations: 64.77 kB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3147, allocations: 4 kB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002665/0.315, allocations: 141.4 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.315, allocations: 6.344 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.315, allocations: 0 / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.315, allocations: 0 / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.3151, allocations: 19.98 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3151, allocations: 320 / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.074e-05/0.3152, allocations: 7.938 kB / 0.569 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.3152, allocations: 4 kB / 0.569 GB, free: 12.81 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.0002164/0.3154, allocations: 221.7 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.3155, allocations: 47.67 kB / 0.5693 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.3158, allocations: 157.5 kB / 0.5694 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3158, allocations: 0 / 0.5694 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3158, allocations: 0 / 0.5694 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3158, allocations: 3.938 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000714/0.3165, allocations: 0.5031 MB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3165, allocations: 4 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.3166, allocations: 23.92 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3166, allocations: 3.938 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3166, allocations: 11.94 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3166, allocations: 0 / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3166, allocations: 0 / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.317, allocations: 240.1 kB / 0.5702 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.3171, allocations: 108.8 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.3171, allocations: 3.938 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3172, allocations: 11.98 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.3172, allocations: 8 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.3172, allocations: 7.938 kB / 0.5703 GB, free: 11.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007034/0.3179, allocations: 0.655 MB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3179, allocations: 0 / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.3182, allocations: 24 kB / 0.571 GB, free: 10.67 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.001716/0.32, allocations: 459.5 kB / 0.5714 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.3202, allocations: 63.94 kB / 0.5715 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3202, allocations: 0 / 0.5715 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.873e-05/0.3203, allocations: 39.86 kB / 0.5715 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.3207, allocations: 25.67 kB / 0.5715 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.322, allocations: 0.8427 MB / 0.5724 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006716/0.3227, allocations: 0.8337 MB / 0.5732 GB, free: 8.535 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.813e-05/0.3228, allocations: 12.42 kB / 0.5732 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.3228, allocations: 19.44 kB / 0.5732 GB, free: 8.504 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3228, allocations: 0 / 0.5732 GB, free: 8.504 MB / 414.1 MB Notification: Performance of Templates: time 0.005909/0.3287, allocations: 1.76 MB / 0.5749 GB, free: 6.746 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.93166643101722]