Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.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.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 180.8 kB / 14.15 MB, free: 1.176 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.308/1.308, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008609/0.0008609, allocations: 92.05 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1839/0.1839, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.28e-05/3.293e-05, allocations: 0 / 451.8 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 61.92 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3731/0.4932, allocations: 89.14 MB / 0.5887 GB, free: 192 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.4935, allocations: 63.97 kB / 0.5888 GB, free: 128 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0391/0.5326, allocations: 17.11 MB / 0.6055 GB, free: 15.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5326, allocations: 0 / 0.6055 GB, free: 15.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.5326, allocations: 0 / 0.6055 GB, free: 15.01 MB / 426.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.0007258/0.5334, allocations: 488 kB / 0.606 GB, free: 14.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5334, allocations: 15.97 kB / 0.606 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.5335, allocations: 0 / 0.606 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.5336, allocations: 167 kB / 0.6062 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.5336, allocations: 0 / 0.6062 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.5336, allocations: 0 / 0.6062 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.678e-05/0.5337, allocations: 29.7 kB / 0.6062 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5337, allocations: 0 / 0.6062 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.5337, allocations: 0 / 0.6062 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5337, allocations: 4 kB / 0.6062 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.5338, allocations: 4 kB / 0.6062 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.5339, allocations: 153.6 kB / 0.6063 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.82e-05/0.534, allocations: 18.52 kB / 0.6064 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.372e-05/0.534, allocations: 8.953 kB / 0.6064 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.534, allocations: 0 / 0.6064 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.534, allocations: 60.27 kB / 0.6064 GB, free: 13.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5341, allocations: 0 / 0.6064 GB, free: 13.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001618/0.5342, allocations: 63.41 kB / 0.6065 GB, free: 13.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.5343, allocations: 77.11 kB / 0.6066 GB, free: 13.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.073e-05/0.5343, allocations: 88.98 kB / 0.6066 GB, free: 13.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.5344, allocations: 25.7 kB / 0.6067 GB, free: 13.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.5344, allocations: 84.08 kB / 0.6067 GB, free: 13.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.5344, allocations: 4 kB / 0.6067 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.5344, allocations: 0 / 0.6067 GB, free: 13.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5346, allocations: 314.9 kB / 0.607 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.5346, allocations: 0 / 0.607 GB, free: 13.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-06/0.5346, allocations: 3.938 kB / 0.6071 GB, free: 13.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.036e-05/0.5346, allocations: 29.7 kB / 0.6071 GB, free: 13.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.5346, allocations: 0 / 0.6071 GB, free: 13.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.687e-05/0.5347, allocations: 75.28 kB / 0.6072 GB, free: 13.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.5348, allocations: 30.64 kB / 0.6072 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5348, allocations: 4 kB / 0.6072 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.5348, allocations: 4.094 kB / 0.6072 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.5348, allocations: 0 / 0.6072 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.5348, allocations: 0 / 0.6072 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.5348, allocations: 3.984 kB / 0.6072 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.5348, allocations: 4 kB / 0.6072 GB, free: 13.04 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 () * 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.129e-05/0.5349, allocations: 126.7 kB / 0.6073 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.5349, allocations: 7.891 kB / 0.6073 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.469e-05/0.535, allocations: 11.08 kB / 0.6073 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.535, allocations: 0 / 0.6073 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.535, allocations: 7.984 kB / 0.6073 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.535, allocations: 0 / 0.6073 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.973e-05/0.5351, allocations: 145.7 kB / 0.6075 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5351, allocations: 0 / 0.6075 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.5351, allocations: 0 / 0.6075 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.5351, allocations: 7.953 kB / 0.6075 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.5351, allocations: 0 / 0.6075 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.5351, allocations: 0 / 0.6075 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5351, allocations: 0 / 0.6075 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.625e-05/0.5352, allocations: 94.73 kB / 0.6076 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.5353, allocations: 81.11 kB / 0.6077 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.5353, allocations: 3.953 kB / 0.6077 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-06/0.5353, allocations: 0 / 0.6077 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.5353, allocations: 7.984 kB / 0.6077 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.5353, allocations: 0 / 0.6077 GB, free: 12.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.625e-05/0.5354, allocations: 75.28 kB / 0.6077 GB, free: 12.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5354, allocations: 3.938 kB / 0.6077 GB, free: 12.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004468/0.5358, allocations: 139.9 kB / 0.6079 GB, free: 12.23 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) * 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.0009397/0.5368, allocations: 0.4958 MB / 0.6084 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.315e-05/0.5369, allocations: 55.41 kB / 0.6084 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5369, allocations: 0 / 0.6084 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/0.5369, allocations: 67.41 kB / 0.6085 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.526e-05/0.537, allocations: 3.984 kB / 0.6085 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001425/0.5372, allocations: 41.56 kB / 0.6085 GB, free: 11.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.5374, allocations: 0.6731 MB / 0.6092 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.717e-06/0.5375, allocations: 0 / 0.6092 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.5375, allocations: 11.44 kB / 0.6092 GB, free: 10.87 MB / 426.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5375, allocations: 0 / 0.6092 GB, free: 10.87 MB / 426.7 MB Notification: Performance of Templates: time 0.005686/0.5432, allocations: 2.84 MB / 0.612 GB, free: 8.023 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches