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.00129/0.00129, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.9 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.11 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.00131, allocations: 77.38 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1097, allocations: 62.44 MB / 479.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001941/0.1117, allocations: 0.5333 MB / 480.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.1141, allocations: 1.401 MB / 481.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.081e-05/0.1141, allocations: 0 / 481.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.1142, allocations: 0 / 481.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.08e-06/0.1142, allocations: 0 / 481.9 MB, free: 3.781 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.001449/0.1157, allocations: 451 kB / 482.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.287e-05/0.1157, allocations: 0 / 482.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.41e-05/0.1157, allocations: 4 kB / 482.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.1158, allocations: 0 / 482.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.01e-05/0.1158, allocations: 0 / 482.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.791e-06/0.1158, allocations: 3.938 kB / 482.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02725/0.1431, allocations: 2.347 MB / 484.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.1431, allocations: 0 / 484.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.1431, allocations: 0 / 484.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.1434, allocations: 115.8 kB / 484.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1434, allocations: 3.984 kB / 484.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1434, allocations: 0 / 484.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1434, allocations: 0 / 484.8 MB, free: 1.289 MB / 350.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.0003707/0.1438, allocations: 385.2 kB / 485.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1438, allocations: 8.875 kB / 485.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.1439, allocations: 0.9375 kB / 485.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.746e-05/0.144, allocations: 164.3 kB / 485.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.144, allocations: 384 / 485.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.144, allocations: 4.375 kB / 485.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.052e-05/0.1441, allocations: 37.81 kB / 485.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1441, allocations: 0 / 485.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.1441, allocations: 0 / 485.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1441, allocations: 0 / 485.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.1441, allocations: 4 kB / 485.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.1443, allocations: 145.7 kB / 485.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.865e-05/0.1443, allocations: 26.55 kB / 485.5 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.1443, allocations: 8.859 kB / 485.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.1444, allocations: 0 / 485.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.1444, allocations: 64.19 kB / 485.6 MB, free: 292 kB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/0.1444, allocations: 0 / 485.6 MB, free: 292 kB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001526/0.1446, allocations: 59.47 kB / 485.7 MB, free: 220 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.1446, allocations: 81.11 kB / 485.7 MB, free: 120 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.323e-05/0.1447, allocations: 93.86 kB / 485.8 MB, free: 16 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1447, allocations: 29.77 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.1447, allocations: 84.14 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.1448, allocations: 3.984 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.1448, allocations: 17.59 kB / 486 MB, free: 15.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.1449, allocations: 314.8 kB / 486.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.1449, allocations: 0 / 486.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-06/0.1449, allocations: 0 / 486.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.597e-05/0.145, allocations: 64.27 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.145, allocations: 4.062 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.143e-05/0.1451, allocations: 63.39 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.1451, allocations: 33.64 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1451, allocations: 0 / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1451, allocations: 0 / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.1451, allocations: 0 / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1451, allocations: 4 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.29e-05/0.1452, allocations: 3.938 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1452, allocations: 0 / 486.4 MB, free: 15.35 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.971e-05/0.1453, allocations: 139.6 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.1453, allocations: 11.92 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.016e-05/0.1453, allocations: 7.109 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1453, allocations: 0 / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.1453, allocations: 0 / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1453, allocations: 0 / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.64e-05/0.1454, allocations: 145.7 kB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1454, allocations: 4 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1454, allocations: 0 / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1454, allocations: 7.922 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.1454, allocations: 4 kB / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1454, allocations: 0 / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1455, allocations: 0 / 486.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.017e-05/0.1455, allocations: 90.88 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.1456, allocations: 85.03 kB / 486.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1456, allocations: 0 / 486.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-06/0.1456, allocations: 4 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.1456, allocations: 3.938 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.1457, allocations: 4.031 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.356e-05/0.1457, allocations: 75.28 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1457, allocations: 0 / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.146, allocations: 75.92 kB / 487.1 MB, free: 14.6 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.0008179/0.1468, allocations: 394.7 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.142e-05/0.1469, allocations: 55.41 kB / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1469, allocations: 0 / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.1469, allocations: 63.39 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.1471, allocations: 9.922 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/0.1473, allocations: 104.2 kB / 487.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1475, allocations: 0.6731 MB / 488.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.429e-05/0.1476, allocations: 11.56 kB / 488.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of SimCode: time 1.653e-06/0.1476, allocations: 0 / 488.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of Templates: time 0.003784/0.1513, allocations: 2.018 MB / 490.4 MB, free: 11.25 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches