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.001397/0.001402, allocations: 201.1 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 226.5 MB / 245.4 MB, free: 8.141 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000874/0.000874, allocations: 107.8 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4513/0.4513, allocations: 44.82 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 4 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3197, allocations: 62.96 MB / 0.5184 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.4584, allocations: 90.1 MB / 0.6064 GB, free: 15.19 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004042/0.4589, allocations: 67.95 kB / 0.6065 GB, free: 15.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07413/0.533, allocations: 19.56 MB / 0.6256 GB, free: 11.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5331, allocations: 0 / 0.6256 GB, free: 11.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.5331, allocations: 0 / 0.6256 GB, free: 11.54 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.0009739/0.5341, allocations: 497 kB / 0.626 GB, free: 11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.5342, allocations: 8.031 kB / 0.626 GB, free: 10.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.5342, allocations: 0.9375 kB / 0.626 GB, free: 10.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.5344, allocations: 164.3 kB / 0.6262 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.5345, allocations: 8.375 kB / 0.6262 GB, free: 10.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.5345, allocations: 4.359 kB / 0.6262 GB, free: 10.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.5346, allocations: 30.25 kB / 0.6262 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5346, allocations: 192 / 0.6262 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.5347, allocations: 7.938 kB / 0.6263 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.5347, allocations: 0 / 0.6263 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.486e-05/0.5347, allocations: 0 / 0.6263 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.5349, allocations: 145.7 kB / 0.6264 GB, free: 10.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.718e-05/0.535, allocations: 26.55 kB / 0.6264 GB, free: 10.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.5351, allocations: 4.859 kB / 0.6264 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.5351, allocations: 0 / 0.6264 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.502e-05/0.5352, allocations: 60.25 kB / 0.6265 GB, free: 10.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 2.064e-06/0.5352, allocations: 64 / 0.6265 GB, free: 10.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.000228/0.5355, allocations: 71.28 kB / 0.6265 GB, free: 10.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.5356, allocations: 81.11 kB / 0.6266 GB, free: 10.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.269e-05/0.5356, allocations: 93.98 kB / 0.6267 GB, free: 10.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.5357, allocations: 29.64 kB / 0.6267 GB, free: 10.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.5357, allocations: 84.12 kB / 0.6268 GB, free: 10.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.5358, allocations: 3.984 kB / 0.6268 GB, free: 10.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.5358, allocations: 0 / 0.6268 GB, free: 10.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5359, allocations: 310.8 kB / 0.6271 GB, free: 9.707 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.536, allocations: 4 kB / 0.6271 GB, free: 9.703 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.246e-05/0.536, allocations: 4 kB / 0.6271 GB, free: 9.699 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.989e-05/0.5361, allocations: 64.33 kB / 0.6272 GB, free: 9.621 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5361, allocations: 0 / 0.6272 GB, free: 9.621 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001205/0.5362, allocations: 67.23 kB / 0.6273 GB, free: 9.543 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.5363, allocations: 36.67 kB / 0.6273 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5363, allocations: 0 / 0.6273 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.5364, allocations: 3.938 kB / 0.6273 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.13e-06/0.5364, allocations: 3.938 kB / 0.6273 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.5364, allocations: 0 / 0.6273 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.5364, allocations: 0 / 0.6273 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.5364, allocations: 7.984 kB / 0.6273 GB, free: 9.488 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 0.0001327/0.5366, allocations: 139.6 kB / 0.6274 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.5366, allocations: 0 / 0.6274 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.5367, allocations: 14.64 kB / 0.6275 GB, free: 9.324 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5367, allocations: 4 kB / 0.6275 GB, free: 9.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5367, allocations: 4 kB / 0.6275 GB, free: 9.316 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5367, allocations: 0 / 0.6275 GB, free: 9.316 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.5369, allocations: 141.7 kB / 0.6276 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5369, allocations: 0 / 0.6276 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-06/0.5369, allocations: 0 / 0.6276 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.5369, allocations: 4 kB / 0.6276 GB, free: 9.125 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.5369, allocations: 7.938 kB / 0.6276 GB, free: 9.117 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.5369, allocations: 3.984 kB / 0.6276 GB, free: 9.113 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.537, allocations: 0 / 0.6276 GB, free: 9.113 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.5371, allocations: 86.84 kB / 0.6277 GB, free: 9.004 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.5372, allocations: 77.11 kB / 0.6278 GB, free: 8.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.5372, allocations: 11.86 kB / 0.6278 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.456e-05/0.5373, allocations: 0 / 0.6278 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.5373, allocations: 4.031 kB / 0.6278 GB, free: 8.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.5373, allocations: 4 kB / 0.6278 GB, free: 8.891 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.92e-05/0.5374, allocations: 75.28 kB / 0.6279 GB, free: 8.816 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5374, allocations: 0 / 0.6279 GB, free: 8.816 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001223/0.5386, allocations: 243.8 kB / 0.6281 GB, free: 8.578 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.002624/0.5413, allocations: 0.6595 MB / 0.6287 GB, free: 7.988 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.5414, allocations: 59.39 kB / 0.6288 GB, free: 7.918 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5414, allocations: 3.938 kB / 0.6288 GB, free: 7.914 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-05/0.5415, allocations: 55.41 kB / 0.6288 GB, free: 7.848 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.5417, allocations: 4.125 kB / 0.6288 GB, free: 7.844 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.542, allocations: 78.7 kB / 0.6289 GB, free: 7.738 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.5424, allocations: 0.6731 MB / 0.6296 GB, free: 7.039 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.353e-06/0.5424, allocations: 0 / 0.6296 GB, free: 7.039 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.5424, allocations: 11.44 kB / 0.6296 GB, free: 7.027 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5424, allocations: 0 / 0.6296 GB, free: 7.027 MB / 442.7 MB Notification: Performance of Templates: time 0.01349/0.5559, allocations: 4.411 MB / 0.6339 GB, free: 2.613 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/jenkins1/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