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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008917/0.0008919, allocations: 96.5 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 205.5 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.7 MB / 246.8 MB, free: 9.727 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.19 MB / 345.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003704, allocations: 8.375 kB / 419.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.123, allocations: 63.56 MB / 483.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0006054/0.1237, allocations: 209.2 kB / 483.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.1262, allocations: 1.348 MB / 484.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-06/0.1262, allocations: 3.938 kB / 484.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.092e-05/0.1262, allocations: 8 kB / 484.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.429e-06/0.1262, allocations: 0 / 484.6 MB, free: 2.539 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:4:3-219:14:writable] Warning: Pure function ‘ModelicaTest.Utilities.Strings‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.1275, allocations: 447 kB / 485.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.579e-05/0.1276, allocations: 0 / 485.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.951e-05/0.1276, allocations: 0 / 485.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.524e-05/0.1276, allocations: 3.984 kB / 485.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.822e-05/0.1277, allocations: 4 kB / 485.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-06/0.1277, allocations: 0 / 485.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02707/0.1547, allocations: 2.338 MB / 487.4 MB, free: 180 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.1548, allocations: 7.984 kB / 487.4 MB, free: 172 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.1548, allocations: 25.7 kB / 487.5 MB, free: 140 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.1553, allocations: 159.7 kB / 487.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1553, allocations: 0 / 487.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1553, allocations: 0 / 487.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1553, allocations: 0 / 487.6 MB, free: 15.98 MB / 366.1 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.000345/0.1557, allocations: 381.2 kB / 488 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1557, allocations: 8.875 kB / 488 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.1558, allocations: 0.9375 kB / 488 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.519e-05/0.1559, allocations: 168.4 kB / 488.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1559, allocations: 384 / 488.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.1559, allocations: 384 / 488.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.687e-05/0.156, allocations: 41.75 kB / 488.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.156, allocations: 4 kB / 488.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.156, allocations: 0 / 488.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.156, allocations: 0 / 488.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.548e-05/0.156, allocations: 0 / 488.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.1562, allocations: 141.7 kB / 488.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.679e-05/0.1562, allocations: 26.58 kB / 488.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.381e-05/0.1562, allocations: 8.844 kB / 488.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-06/0.1562, allocations: 3.938 kB / 488.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.1563, allocations: 64.27 kB / 488.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1563, allocations: 0 / 488.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.1564, allocations: 63.39 kB / 488.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1565, allocations: 81.23 kB / 488.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.229e-05/0.1565, allocations: 97.84 kB / 488.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.1566, allocations: 25.7 kB / 488.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.268e-05/0.1566, allocations: 84.08 kB / 488.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.1566, allocations: 0 / 488.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/0.1566, allocations: 9.719 kB / 488.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1567, allocations: 314.8 kB / 489.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-06/0.1568, allocations: 0 / 489.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.1568, allocations: 3.938 kB / 489.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.1568, allocations: 68.33 kB / 489.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1568, allocations: 0 / 489.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.723e-05/0.1569, allocations: 63.39 kB / 489.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.1569, allocations: 33.64 kB / 489.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.1569, allocations: 0 / 489.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.157, allocations: 0 / 489.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.157, allocations: 0 / 489.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.157, allocations: 7.984 kB / 489.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.157, allocations: 0 / 489.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.157, allocations: 4.031 kB / 489.3 MB, free: 14.04 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.889e-05/0.1571, allocations: 135.5 kB / 489.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.1571, allocations: 11.86 kB / 489.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.395e-05/0.1571, allocations: 7.109 kB / 489.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1571, allocations: 3.938 kB / 489.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1571, allocations: 0 / 489.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1572, allocations: 0 / 489.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.98e-05/0.1572, allocations: 149.7 kB / 489.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1573, allocations: 0 / 489.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1573, allocations: 0 / 489.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1573, allocations: 11.92 kB / 489.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.1573, allocations: 0 / 489.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1573, allocations: 0 / 489.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1573, allocations: 0 / 489.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.322e-05/0.1574, allocations: 86.88 kB / 489.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.1574, allocations: 85.03 kB / 489.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.1574, allocations: 4 kB / 489.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-06/0.1575, allocations: 4.031 kB / 489.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-06/0.1575, allocations: 0 / 489.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.1575, allocations: 0 / 489.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.617e-05/0.1575, allocations: 79.28 kB / 489.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1575, allocations: 3.938 kB / 489.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.1578, allocations: 71.98 kB / 489.9 MB, free: 13.29 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007224/0.1585, allocations: 397 kB / 490.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.447e-05/0.1586, allocations: 55.41 kB / 490.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1586, allocations: 0 / 490.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.579e-05/0.1587, allocations: 59.39 kB / 490.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.1588, allocations: 11.03 kB / 490.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001571/0.159, allocations: 82.67 kB / 490.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.1592, allocations: 0.6731 MB / 491.2 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.113e-06/0.1593, allocations: 3.984 kB / 491.2 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.124e-05/0.1593, allocations: 11.44 kB / 491.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1593, allocations: 0 / 491.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of Templates: time 0.004967/0.1642, allocations: 2.107 MB / 493.3 MB, free: 9.883 MB / 366.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches