Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 227.2 MB / 245 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008448/0.0008448, allocations: 99.62 kB / 297.3 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2818/0.2818, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.000262, allocations: 8 kB / 468.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2949, allocations: 63.24 MB / 0.5192 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.4031, allocations: 90.24 MB / 0.6073 GB, free: 13.19 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.4034, allocations: 59.97 kB / 0.6074 GB, free: 13.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03998/0.4434, allocations: 17.05 MB / 0.624 GB, free: 12.06 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4434, allocations: 0 / 0.624 GB, free: 12.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.4434, allocations: 0 / 0.624 GB, free: 12.06 MB / 442.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.0006646/0.4441, allocations: 492.8 kB / 0.6245 GB, free: 11.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4442, allocations: 12.02 kB / 0.6245 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.4442, allocations: 3.953 kB / 0.6245 GB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.419e-05/0.4443, allocations: 159.1 kB / 0.6246 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4443, allocations: 0 / 0.6246 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.4443, allocations: 4 kB / 0.6246 GB, free: 11.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.321e-05/0.4444, allocations: 29.7 kB / 0.6247 GB, free: 11.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4444, allocations: 0 / 0.6247 GB, free: 11.28 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.4444, allocations: 0 / 0.6247 GB, free: 11.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.4445, allocations: 4 kB / 0.6247 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.034e-05/0.4445, allocations: 3.953 kB / 0.6247 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.4446, allocations: 149.7 kB / 0.6248 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.799e-05/0.4447, allocations: 22.55 kB / 0.6248 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.4447, allocations: 7.938 kB / 0.6249 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.4447, allocations: 56.27 kB / 0.6249 GB, free: 10.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.4447, allocations: 0 / 0.6249 GB, free: 10.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001925/0.4449, allocations: 71.44 kB / 0.625 GB, free: 10.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.445, allocations: 81.05 kB / 0.6251 GB, free: 10.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.117e-05/0.445, allocations: 85 kB / 0.6251 GB, free: 10.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.4451, allocations: 25.7 kB / 0.6252 GB, free: 10.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.4451, allocations: 84.08 kB / 0.6252 GB, free: 10.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.4451, allocations: 8.125 kB / 0.6252 GB, free: 10.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.4451, allocations: 0 / 0.6252 GB, free: 10.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4453, allocations: 314.8 kB / 0.6255 GB, free: 10.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-06/0.4453, allocations: 0 / 0.6255 GB, free: 10.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-06/0.4453, allocations: 0 / 0.6255 GB, free: 10.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.4453, allocations: 29.7 kB / 0.6256 GB, free: 10.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4453, allocations: 0 / 0.6256 GB, free: 10.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.754e-05/0.4454, allocations: 67.39 kB / 0.6256 GB, free: 10.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.4455, allocations: 29.8 kB / 0.6257 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4455, allocations: 8 kB / 0.6257 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.4455, allocations: 0 / 0.6257 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.4455, allocations: 0 / 0.6257 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4455, allocations: 0 / 0.6257 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.4455, allocations: 7.938 kB / 0.6257 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.4455, allocations: 0 / 0.6257 GB, free: 10.09 MB / 442.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.65e-05/0.4456, allocations: 139.5 kB / 0.6258 GB, free: 9.938 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.4456, allocations: 4 kB / 0.6258 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.404e-05/0.4457, allocations: 6.719 kB / 0.6258 GB, free: 9.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4457, allocations: 4 kB / 0.6258 GB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4457, allocations: 0 / 0.6258 GB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.4457, allocations: 0 / 0.6258 GB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.259e-05/0.4458, allocations: 153.6 kB / 0.626 GB, free: 9.727 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4458, allocations: 0 / 0.626 GB, free: 9.727 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.4458, allocations: 4 kB / 0.626 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.4458, allocations: 0 / 0.626 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.4458, allocations: 0 / 0.626 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4458, allocations: 0 / 0.626 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4458, allocations: 0 / 0.626 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.4459, allocations: 102.7 kB / 0.6261 GB, free: 9.598 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.446, allocations: 81.09 kB / 0.6262 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.446, allocations: 0 / 0.6262 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-06/0.446, allocations: 0 / 0.6262 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.446, allocations: 7.938 kB / 0.6262 GB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.446, allocations: 0 / 0.6262 GB, free: 9.492 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.151e-05/0.4461, allocations: 75.28 kB / 0.6262 GB, free: 9.418 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4461, allocations: 32 / 0.6262 GB, free: 9.418 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004359/0.4465, allocations: 147.9 kB / 0.6264 GB, free: 9.273 MB / 442.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.00101/0.4475, allocations: 500 kB / 0.6269 GB, free: 8.836 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.791e-05/0.4476, allocations: 71.39 kB / 0.6269 GB, free: 8.754 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4476, allocations: 0 / 0.6269 GB, free: 8.754 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.4477, allocations: 51.41 kB / 0.627 GB, free: 8.691 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.674e-05/0.4478, allocations: 13.47 kB / 0.627 GB, free: 8.684 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001573/0.4479, allocations: 70.75 kB / 0.627 GB, free: 8.586 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.4482, allocations: 0.6731 MB / 0.6277 GB, free: 7.887 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.561e-06/0.4482, allocations: 3.938 kB / 0.6277 GB, free: 7.883 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/0.4482, allocations: 11.44 kB / 0.6277 GB, free: 7.871 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4482, allocations: 0 / 0.6277 GB, free: 7.871 MB / 442.7 MB Notification: Performance of Templates: time 0.005728/0.4539, allocations: 2.81 MB / 0.6305 GB, free: 5.059 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches