Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009829/0.0009828, allocations: 179 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.3 MB / 242.1 MB, free: 11.61 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007391/0.0007391, allocations: 96.77 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3083/0.3083, allocations: 44.15 MB / 388.5 MB, free: 38.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004494, allocations: 20 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3905, allocations: 61.87 MB / 0.5107 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.5151, allocations: 87.67 MB / 0.5963 GB, free: 7.445 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.5154, allocations: 71.95 kB / 0.5964 GB, free: 7.379 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01731/0.5327, allocations: 6.522 MB / 0.6028 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.5327, allocations: 0 / 0.6028 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.5327, allocations: 0 / 0.6028 GB, free: 0.8516 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004487/0.5332, allocations: 413.2 kB / 0.6032 GB, free: 400 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5333, allocations: 8.031 kB / 0.6032 GB, free: 392 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.5333, allocations: 4.922 kB / 0.6032 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.5334, allocations: 168.4 kB / 0.6033 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5335, allocations: 384 / 0.6033 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.5335, allocations: 4.375 kB / 0.6033 GB, free: 176 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.148e-05/0.5336, allocations: 30.27 kB / 0.6034 GB, free: 140 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.5336, allocations: 4.125 kB / 0.6034 GB, free: 136 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.5336, allocations: 3.938 kB / 0.6034 GB, free: 132 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.5336, allocations: 3.984 kB / 0.6034 GB, free: 128 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.5336, allocations: 4 kB / 0.6034 GB, free: 124 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.5338, allocations: 145.7 kB / 0.6035 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.237e-05/0.5339, allocations: 22.45 kB / 0.6035 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.5339, allocations: 12.92 kB / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.5339, allocations: 0 / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/0.534, allocations: 64.25 kB / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.534, allocations: 0 / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001796/0.5342, allocations: 67.28 kB / 0.6037 GB, free: 15.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.5342, allocations: 77.11 kB / 0.6037 GB, free: 15.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.478e-05/0.5343, allocations: 106 kB / 0.6038 GB, free: 15.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.5343, allocations: 25.7 kB / 0.6039 GB, free: 15.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.5344, allocations: 80.14 kB / 0.6039 GB, free: 15.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.5344, allocations: 7.906 kB / 0.604 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.5344, allocations: 0 / 0.604 GB, free: 15.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5345, allocations: 310.8 kB / 0.6042 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-06/0.5345, allocations: 0 / 0.6042 GB, free: 15.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-06/0.5345, allocations: 0 / 0.6042 GB, free: 15.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.836e-05/0.5346, allocations: 64.45 kB / 0.6043 GB, free: 15.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5346, allocations: 4 kB / 0.6043 GB, free: 15 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.026e-05/0.5347, allocations: 67.33 kB / 0.6044 GB, free: 14.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.5347, allocations: 33.7 kB / 0.6044 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5347, allocations: 3.938 kB / 0.6044 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5348, allocations: 0 / 0.6044 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.5348, allocations: 0 / 0.6044 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.5348, allocations: 0 / 0.6044 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.281e-05/0.5348, allocations: 0 / 0.6044 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.5348, allocations: 4 kB / 0.6044 GB, free: 14.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.183e-05/0.5349, allocations: 139.6 kB / 0.6046 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.5349, allocations: 4 kB / 0.6046 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.535, allocations: 14.66 kB / 0.6046 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.535, allocations: 0 / 0.6046 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.535, allocations: 0 / 0.6046 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.535, allocations: 0 / 0.6046 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.5351, allocations: 149.7 kB / 0.6047 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5351, allocations: 0 / 0.6047 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.5351, allocations: 0 / 0.6047 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5351, allocations: 0 / 0.6047 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.5351, allocations: 7.938 kB / 0.6047 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5351, allocations: 7.938 kB / 0.6047 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5352, allocations: 3.938 kB / 0.6047 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.5353, allocations: 94.77 kB / 0.6048 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.5353, allocations: 81.11 kB / 0.6049 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.5353, allocations: 3.938 kB / 0.6049 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-06/0.5354, allocations: 0 / 0.6049 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.5354, allocations: 4.031 kB / 0.6049 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.5354, allocations: 0 / 0.6049 GB, free: 14.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.492e-05/0.5354, allocations: 79.28 kB / 0.605 GB, free: 14.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5354, allocations: 0 / 0.605 GB, free: 14.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003827/0.5358, allocations: 107.9 kB / 0.6051 GB, free: 14.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007785/0.5366, allocations: 404.2 kB / 0.6055 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.996e-05/0.5367, allocations: 67.39 kB / 0.6055 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5367, allocations: 0 / 0.6055 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.393e-05/0.5368, allocations: 59.34 kB / 0.6056 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.5369, allocations: 0 / 0.6056 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001842/0.5371, allocations: 86.69 kB / 0.6057 GB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.5374, allocations: 0.6731 MB / 0.6063 GB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.015e-05/0.5374, allocations: 0 / 0.6063 GB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.359e-05/0.5374, allocations: 7.438 kB / 0.6063 GB, free: 12.8 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5374, allocations: 4.125 kB / 0.6063 GB, free: 12.8 MB / 426.7 MB Notification: Performance of Templates: time 0.004991/0.5424, allocations: 1.888 MB / 0.6082 GB, free: 10.91 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches