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: "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008255/0.0008255, allocations: 92.36 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000948/0.000948, allocations: 205.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.7 MB / 246.8 MB, free: 11.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.18 MB / 345.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 4 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.111, allocations: 63.57 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0005629/0.1116, allocations: 206.9 kB / 483.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1141, allocations: 1.358 MB / 484.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-06/0.1142, allocations: 0 / 484.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.31e-05/0.1142, allocations: 0 / 484.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.142e-06/0.1142, allocations: 0 / 484.7 MB, free: 2.492 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.001563/0.1158, allocations: 451 kB / 485.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.674e-05/0.1158, allocations: 4 kB / 485.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.1159, allocations: 3.984 kB / 485.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.821e-05/0.1159, allocations: 0 / 485.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.439e-05/0.1159, allocations: 0 / 485.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.673e-06/0.1159, allocations: 4 kB / 485.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0284/0.1444, allocations: 2.34 MB / 487.5 MB, free: 120 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.1444, allocations: 0 / 487.5 MB, free: 120 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.31e-05/0.1445, allocations: 25.7 kB / 487.5 MB, free: 88 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.1449, allocations: 159.8 kB / 487.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1449, allocations: 4 kB / 487.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1449, allocations: 0 / 487.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1449, allocations: 0 / 487.7 MB, free: 15.93 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.0004193/0.1454, allocations: 377.2 kB / 488.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.1454, allocations: 12.88 kB / 488.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.1455, allocations: 30.75 kB / 488.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.1455, allocations: 0.9375 kB / 488.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1456, allocations: 164.4 kB / 488.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1456, allocations: 4.312 kB / 488.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.1457, allocations: 4.375 kB / 488.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.1458, allocations: 37.58 kB / 488.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1458, allocations: 0 / 488.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.1458, allocations: 4 kB / 488.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1458, allocations: 0 / 488.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.75e-05/0.1458, allocations: 4 kB / 488.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002149/0.146, allocations: 145.7 kB / 488.5 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.21e-05/0.1461, allocations: 18.61 kB / 488.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.1461, allocations: 4.859 kB / 488.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.1461, allocations: 3.938 kB / 488.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.265e-05/0.1462, allocations: 68.2 kB / 488.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.432e-06/0.1462, allocations: 0 / 488.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001839/0.1464, allocations: 63.45 kB / 488.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.1465, allocations: 81.11 kB / 488.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.1465, allocations: 93.8 kB / 488.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1465, allocations: 25.7 kB / 488.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.1466, allocations: 80.14 kB / 488.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.1466, allocations: 0 / 488.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.1466, allocations: 17.84 kB / 488.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1468, allocations: 310.8 kB / 489.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.1468, allocations: 4 kB / 489.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-06/0.1468, allocations: 0 / 489.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.247e-05/0.1469, allocations: 68.19 kB / 489.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1469, allocations: 0 / 489.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.41e-05/0.147, allocations: 63.34 kB / 489.4 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.147, allocations: 33.7 kB / 489.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.147, allocations: 4.094 kB / 489.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1471, allocations: 0 / 489.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1471, allocations: 0 / 489.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1471, allocations: 3.984 kB / 489.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.1471, allocations: 3.984 kB / 489.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1471, allocations: 8 kB / 489.4 MB, free: 13.94 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 8.873e-05/0.1472, allocations: 131.5 kB / 489.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.1472, allocations: 3.938 kB / 489.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.376e-06/0.1473, allocations: 7.125 kB / 489.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1473, allocations: 4 kB / 489.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1473, allocations: 0 / 489.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1473, allocations: 0 / 489.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.1474, allocations: 149.6 kB / 489.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1474, allocations: 0 / 489.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-06/0.1474, allocations: 3.938 kB / 489.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1474, allocations: 7.938 kB / 489.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1474, allocations: 0 / 489.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1474, allocations: 0 / 489.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1474, allocations: 0 / 489.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.1476, allocations: 94.86 kB / 489.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.1476, allocations: 81.05 kB / 489.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1476, allocations: 4 kB / 489.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-06/0.1476, allocations: 0 / 489.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.1477, allocations: 4 kB / 489.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1477, allocations: 3.938 kB / 489.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.967e-05/0.1477, allocations: 79.28 kB / 490 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1477, allocations: 4.031 kB / 490 MB, free: 13.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003896/0.1481, allocations: 67.98 kB / 490 MB, free: 13.2 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.001176/0.1493, allocations: 0.9172 MB / 491 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1494, allocations: 63.39 kB / 491 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1494, allocations: 3.938 kB / 491 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.646e-05/0.1495, allocations: 55.41 kB / 491.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.1496, allocations: 3.938 kB / 491.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.1499, allocations: 136.3 kB / 491.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.1504, allocations: 0.6772 MB / 491.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.664e-06/0.1504, allocations: 0 / 491.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.1504, allocations: 11.44 kB / 491.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1504, allocations: 0 / 491.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.1827, allocations: 2.888 MB / 494.8 MB, free: 8.492 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003008/0.1831, allocations: 225 kB / 495 MB, free: 8.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.069, allocations: 4.062 kB / 495 MB, free: 8.234 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings.fmu > 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