Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 112.5 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2431/0.2431, allocations: 44.92 MB / 359.6 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 63.89 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2888, allocations: 65.47 MB / 0.5583 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002927/0.2917, allocations: 1.636 MB / 0.5599 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.2927, allocations: 0.5543 MB / 0.5604 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.2928, allocations: 4 kB / 0.5604 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.2931, allocations: 119.6 kB / 0.5605 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.2934, allocations: 127.6 kB / 0.5606 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.2936, allocations: 95.69 kB / 0.5607 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.2938, allocations: 91.75 kB / 0.5608 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2939, allocations: 31.62 kB / 0.5609 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.906e-05/0.294, allocations: 47.89 kB / 0.5609 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.2941, allocations: 95.64 kB / 0.561 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.2942, allocations: 4 kB / 0.561 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.2943, allocations: 43.97 kB / 0.561 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/0.2943, allocations: 23.92 kB / 0.5611 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.2944, allocations: 35.69 kB / 0.5611 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.2946, allocations: 126.2 kB / 0.5612 GB, free: 4.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2946, allocations: 7.938 kB / 0.5612 GB, free: 4.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2946, allocations: 0 / 0.5612 GB, free: 4.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2946, allocations: 3.938 kB / 0.5612 GB, free: 4.684 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.0005302/0.2951, allocations: 369.3 kB / 0.5616 GB, free: 4.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2951, allocations: 8.031 kB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.2952, allocations: 20.83 kB / 0.5616 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.2954, allocations: 150.4 kB / 0.5617 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2954, allocations: 8.359 kB / 0.5618 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.2954, allocations: 4.375 kB / 0.5618 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.2956, allocations: 61.78 kB / 0.5618 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2956, allocations: 0 / 0.5618 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2956, allocations: 8 kB / 0.5618 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2956, allocations: 0 / 0.5618 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.72e-05/0.2957, allocations: 27.97 kB / 0.5619 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.2961, allocations: 267.8 kB / 0.5621 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.2962, allocations: 42.56 kB / 0.5621 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/0.2962, allocations: 24.94 kB / 0.5622 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.2962, allocations: 0 / 0.5622 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.2963, allocations: 34.5 kB / 0.5622 GB, free: 3.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.2963, allocations: 0 / 0.5622 GB, free: 3.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000878/0.2971, allocations: 237.2 kB / 0.5624 GB, free: 3.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.2972, allocations: 55.39 kB / 0.5625 GB, free: 3.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.2975, allocations: 279.8 kB / 0.5628 GB, free: 2.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.2975, allocations: 29.64 kB / 0.5628 GB, free: 2.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.2976, allocations: 112.1 kB / 0.5629 GB, free: 2.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.2976, allocations: 27.75 kB / 0.5629 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.2977, allocations: 29.7 kB / 0.5629 GB, free: 2.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2978, allocations: 326.8 kB / 0.5633 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.2979, allocations: 19.98 kB / 0.5633 GB, free: 2.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.298, allocations: 27.98 kB / 0.5633 GB, free: 2.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.2981, allocations: 60.83 kB / 0.5634 GB, free: 2.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2981, allocations: 4 kB / 0.5634 GB, free: 2.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002216/0.2983, allocations: 113.5 kB / 0.5635 GB, free: 2.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2984, allocations: 4 kB / 0.5635 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2984, allocations: 320 / 0.5635 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2984, allocations: 0 / 0.5635 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.2985, allocations: 19.98 kB / 0.5635 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2985, allocations: 0 / 0.5635 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.2985, allocations: 7.938 kB / 0.5635 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.2985, allocations: 3.984 kB / 0.5635 GB, free: 2.152 MB / 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 (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.000115/0.2986, allocations: 139.1 kB / 0.5636 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.2987, allocations: 15.91 kB / 0.5637 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.299, allocations: 130.9 kB / 0.5638 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.299, allocations: 0 / 0.5638 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.299, allocations: 3.984 kB / 0.5638 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.299, allocations: 4.359 kB / 0.5638 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005404/0.2995, allocations: 386.3 kB / 0.5642 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2995, allocations: 0 / 0.5642 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.2996, allocations: 19.98 kB / 0.5642 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2996, allocations: 3.938 kB / 0.5642 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2996, allocations: 0 / 0.5642 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2996, allocations: 4 kB / 0.5642 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2996, allocations: 3.938 kB / 0.5642 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.2999, allocations: 208.3 kB / 0.5644 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.2999, allocations: 19.84 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.2999, allocations: 4 kB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.3, allocations: 3.984 kB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.3, allocations: 7.984 kB / 0.5644 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3, allocations: 7.938 kB / 0.5644 GB, free: 1.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.3002, allocations: 216.1 kB / 0.5646 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3002, allocations: 0 / 0.5646 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3005, allocations: 23.92 kB / 0.5647 GB, free: 0.8867 MB / 398.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.001738/0.3022, allocations: 465.1 kB / 0.5651 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.3024, allocations: 55.97 kB / 0.5651 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3024, allocations: 0 / 0.5651 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.223e-05/0.3025, allocations: 39.91 kB / 0.5652 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3029, allocations: 25.53 kB / 0.5652 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005926/0.3035, allocations: 342 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.3039, allocations: 0.7235 MB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.3039, allocations: 15.44 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3039, allocations: 0 / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Templates: time 0.003937/0.3078, allocations: 1.9 MB / 0.5681 GB, free: 13.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.6874491141643375]