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.0008892/0.0008893, allocations: 91.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009941/0.0009941, allocations: 197.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.7 MB / 247.5 MB, free: 9.469 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.191/0.191, allocations: 46.19 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002718/0.000272, allocations: 4.375 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1026, allocations: 63.56 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0005196/0.1032, allocations: 209.3 kB / 483.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.1057, allocations: 1.348 MB / 485.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-06/0.1057, allocations: 0 / 485.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.1058, allocations: 0 / 485.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.639e-06/0.1058, allocations: 0 / 485.3 MB, free: 2.586 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.001245/0.107, allocations: 447 kB / 485.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.981e-05/0.1071, allocations: 0 / 485.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.1071, allocations: 11.94 kB / 485.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.447e-05/0.1071, allocations: 0 / 485.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.811e-05/0.1072, allocations: 0 / 485.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.953e-06/0.1072, allocations: 0 / 485.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02791/0.1351, allocations: 2.348 MB / 488.1 MB, free: 212 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.1351, allocations: 0 / 488.1 MB, free: 212 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.1352, allocations: 25.7 kB / 488.1 MB, free: 180 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.1354, allocations: 111.8 kB / 488.2 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.1354, allocations: 0 / 488.2 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1354, allocations: 4 kB / 488.2 MB, free: 64 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.1354, allocations: 0 / 488.2 MB, free: 64 kB / 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.0003516/0.1358, allocations: 385.2 kB / 488.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1358, allocations: 12.88 kB / 488.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.1359, allocations: 8.922 kB / 488.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/0.136, allocations: 160.4 kB / 488.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.136, allocations: 384 / 488.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.136, allocations: 384 / 488.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.286e-05/0.1361, allocations: 33.83 kB / 488.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1361, allocations: 4 kB / 488.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.1361, allocations: 0 / 488.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1361, allocations: 0 / 488.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.981e-05/0.1361, allocations: 3.938 kB / 488.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.1362, allocations: 149.7 kB / 488.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.271e-05/0.1363, allocations: 18.58 kB / 489 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.1363, allocations: 8.953 kB / 489 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.1363, allocations: 0 / 489 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.1364, allocations: 64.2 kB / 489 MB, free: 15.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1364, allocations: 0 / 489 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001508/0.1365, allocations: 75.25 kB / 489.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1366, allocations: 77.11 kB / 489.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.528e-05/0.1366, allocations: 93.86 kB / 489.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.1366, allocations: 25.7 kB / 489.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.1367, allocations: 80.14 kB / 489.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.1367, allocations: 8.125 kB / 489.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.1367, allocations: 9.719 kB / 489.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.1368, allocations: 314.8 kB / 489.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.1368, allocations: 0 / 489.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-06/0.1368, allocations: 3.984 kB / 489.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.022e-05/0.1369, allocations: 60.27 kB / 489.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1369, allocations: 0 / 489.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.934e-05/0.137, allocations: 67.34 kB / 489.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.137, allocations: 37.73 kB / 489.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.137, allocations: 7.984 kB / 489.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.137, allocations: 0 / 489.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.137, allocations: 0 / 489.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.137, allocations: 0 / 489.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.1371, allocations: 0 / 489.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1371, allocations: 0 / 489.9 MB, free: 14.12 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.388e-05/0.1372, allocations: 135.5 kB / 490 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-06/0.1372, allocations: 3.938 kB / 490 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.784e-06/0.1372, allocations: 7.125 kB / 490 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1372, allocations: 0 / 490 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1372, allocations: 0 / 490 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1372, allocations: 0 / 490 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.864e-05/0.1373, allocations: 153.7 kB / 490.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1373, allocations: 0 / 490.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/0.1373, allocations: 0 / 490.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1373, allocations: 3.938 kB / 490.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1373, allocations: 0 / 490.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1373, allocations: 0 / 490.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1373, allocations: 4 kB / 490.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.726e-05/0.1374, allocations: 94.8 kB / 490.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.1375, allocations: 81.05 kB / 490.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.1375, allocations: 4 kB / 490.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-06/0.1375, allocations: 0 / 490.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/0.1375, allocations: 0 / 490.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1375, allocations: 7.984 kB / 490.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.259e-05/0.1376, allocations: 79.28 kB / 490.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1376, allocations: 4.031 kB / 490.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1379, allocations: 71.94 kB / 490.5 MB, free: 13.38 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.0007556/0.1386, allocations: 398 kB / 490.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.163e-05/0.1387, allocations: 59.41 kB / 491 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.1387, allocations: 0 / 491 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/0.1388, allocations: 59.34 kB / 491 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.1389, allocations: 7.938 kB / 491 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000182/0.1391, allocations: 112.2 kB / 491.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.1393, allocations: 0.6731 MB / 491.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.308e-05/0.1393, allocations: 7.438 kB / 491.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1393, allocations: 0 / 491.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Templates: time 0.003826/0.1432, allocations: 2.017 MB / 493.8 MB, free: 10.02 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