Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000982/0.000982, allocations: 176.2 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009474/0.0009471, allocations: 81.42 kB / 271.3 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3541/0.3541, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003985, allocations: 8 kB / 432.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1403, allocations: 58.86 MB / 491.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3868/0.5271, allocations: 84.76 MB / 0.5627 GB, free: 1.277 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.5274, allocations: 59.97 kB / 0.5628 GB, free: 1.219 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003583/0.531, allocations: 1.603 MB / 0.5643 GB, free: 15.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.531, allocations: 0 / 0.5643 GB, free: 15.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.5311, allocations: 0 / 0.5643 GB, free: 15.63 MB / 394.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.0003116/0.5314, allocations: 353 kB / 0.5647 GB, free: 15.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5314, allocations: 12.62 kB / 0.5647 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.5315, allocations: 4.922 kB / 0.5647 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.5316, allocations: 171.3 kB / 0.5649 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.5316, allocations: 384 / 0.5649 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.5316, allocations: 384 / 0.5649 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.456e-05/0.5317, allocations: 31.39 kB / 0.5649 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.5317, allocations: 192 / 0.5649 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.5317, allocations: 3.938 kB / 0.5649 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.5317, allocations: 0 / 0.5649 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.5318, allocations: 12 kB / 0.5649 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.5319, allocations: 145.7 kB / 0.565 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.668e-05/0.532, allocations: 18.52 kB / 0.5651 GB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.532, allocations: 10.08 kB / 0.5651 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-06/0.532, allocations: 0 / 0.5651 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.532, allocations: 60.27 kB / 0.5651 GB, free: 14.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.5321, allocations: 4 kB / 0.5651 GB, free: 14.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001744/0.5322, allocations: 67.33 kB / 0.5652 GB, free: 14.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.5323, allocations: 77.11 kB / 0.5653 GB, free: 14.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.317e-05/0.5323, allocations: 90.48 kB / 0.5654 GB, free: 14.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.5324, allocations: 25.7 kB / 0.5654 GB, free: 14.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.5324, allocations: 84.14 kB / 0.5655 GB, free: 14.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.5324, allocations: 4.922 kB / 0.5655 GB, free: 14.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-06/0.5324, allocations: 3.938 kB / 0.5655 GB, free: 14.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5326, allocations: 319 kB / 0.5658 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.5326, allocations: 3.359 kB / 0.5658 GB, free: 13.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-06/0.5326, allocations: 4 kB / 0.5658 GB, free: 13.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.5326, allocations: 60.25 kB / 0.5658 GB, free: 13.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5326, allocations: 0 / 0.5658 GB, free: 13.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.535e-05/0.5327, allocations: 59.41 kB / 0.5659 GB, free: 13.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.5328, allocations: 33.53 kB / 0.5659 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.5328, allocations: 4 kB / 0.5659 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.5328, allocations: 3.938 kB / 0.5659 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-06/0.5328, allocations: 6.094 kB / 0.5659 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.5328, allocations: 3.984 kB / 0.5659 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.225e-05/0.5328, allocations: 3.938 kB / 0.5659 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.5328, allocations: 0 / 0.5659 GB, free: 13.73 MB / 394.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 8.986e-05/0.5329, allocations: 139.5 kB / 0.5661 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-06/0.5329, allocations: 0 / 0.5661 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.378e-05/0.533, allocations: 7.062 kB / 0.5661 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.533, allocations: 0 / 0.5661 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.533, allocations: 0 / 0.5661 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.533, allocations: 8 kB / 0.5661 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.856e-05/0.5331, allocations: 145.7 kB / 0.5662 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5331, allocations: 0 / 0.5662 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.5331, allocations: 0 / 0.5662 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.5331, allocations: 0 / 0.5662 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.5331, allocations: 3.938 kB / 0.5662 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.5331, allocations: 4 kB / 0.5662 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5331, allocations: 0 / 0.5662 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.867e-05/0.5332, allocations: 93.7 kB / 0.5663 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.5333, allocations: 79.14 kB / 0.5664 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.5333, allocations: 7.938 kB / 0.5664 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-06/0.5333, allocations: 0 / 0.5664 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.5334, allocations: 3.938 kB / 0.5664 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.5334, allocations: 0.9375 kB / 0.5664 GB, free: 13.15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.662e-05/0.5334, allocations: 79.28 kB / 0.5665 GB, free: 13.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5334, allocations: 0 / 0.5665 GB, free: 13.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.5336, allocations: 31.98 kB / 0.5665 GB, free: 13.04 MB / 394.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.0005408/0.5342, allocations: 289.2 kB / 0.5668 GB, free: 12.83 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001/0.5343, allocations: 59.41 kB / 0.5669 GB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5343, allocations: 0 / 0.5669 GB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.534e-05/0.5344, allocations: 55.41 kB / 0.5669 GB, free: 12.69 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.5345, allocations: 8.109 kB / 0.5669 GB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.5347, allocations: 77.52 kB / 0.567 GB, free: 12.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.535, allocations: 0.6731 MB / 0.5676 GB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.32e-06/0.535, allocations: 0 / 0.5676 GB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.055e-05/0.535, allocations: 7.438 kB / 0.5677 GB, free: 11.88 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.535, allocations: 0 / 0.5677 GB, free: 11.88 MB / 394.7 MB Notification: Performance of Templates: time 0.003396/0.5384, allocations: 0.7763 MB / 0.5684 GB, free: 11.1 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches