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.001573/0.001574, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001639/0.001639, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2254/0.2254, allocations: 46.12 MB / 344.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002462/0.002462, allocations: 79.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3097, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001619/0.3114, allocations: 484.8 kB / 0.531 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.3141, allocations: 1.295 MB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.902e-05/0.3141, allocations: 0 / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.3142, allocations: 0 / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.504e-06/0.3142, allocations: 3.938 kB / 0.5323 GB, free: 12.01 MB / 398.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.001771/0.316, allocations: 0.5789 MB / 0.5329 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.893e-05/0.316, allocations: 6.188 kB / 0.5329 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.3161, allocations: 5.062 kB / 0.5329 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.331e-05/0.3161, allocations: 1.125 kB / 0.5329 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.738e-05/0.3161, allocations: 0 / 0.5329 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.3161, allocations: 1.219 kB / 0.5329 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01693/0.3331, allocations: 2.528 MB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.3331, allocations: 0 / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.3331, allocations: 5.844 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.3336, allocations: 158.4 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.444e-05/0.3336, allocations: 4 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3336, allocations: 0 / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3336, allocations: 0 / 0.5355 GB, free: 10.59 MB / 398.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.000454/0.3341, allocations: 383.4 kB / 0.5359 GB, free: 10.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3341, allocations: 9.031 kB / 0.5359 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.3342, allocations: 32.09 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.3342, allocations: 0.9375 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.3343, allocations: 164.4 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3344, allocations: 1.844 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.3344, allocations: 384 / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.3345, allocations: 44.23 kB / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3345, allocations: 0 / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.3345, allocations: 1.344 kB / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3345, allocations: 0 / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.034e-05/0.3345, allocations: 1.344 kB / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.3347, allocations: 154.9 kB / 0.5363 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.585e-05/0.3348, allocations: 20.98 kB / 0.5363 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.3348, allocations: 10.3 kB / 0.5363 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.3348, allocations: 7.875 kB / 0.5363 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/0.3349, allocations: 61.58 kB / 0.5364 GB, free: 9.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3349, allocations: 0 / 0.5364 GB, free: 9.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001743/0.3351, allocations: 62.48 kB / 0.5364 GB, free: 9.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.3351, allocations: 78.08 kB / 0.5365 GB, free: 9.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.598e-05/0.3352, allocations: 90.98 kB / 0.5366 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.3352, allocations: 25.7 kB / 0.5366 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.3353, allocations: 84.27 kB / 0.5367 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.3353, allocations: 5.031 kB / 0.5367 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.3353, allocations: 11.84 kB / 0.5367 GB, free: 9.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3355, allocations: 312 kB / 0.537 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.3355, allocations: 0 / 0.537 GB, free: 8.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-06/0.3355, allocations: 5.125 kB / 0.537 GB, free: 8.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.872e-05/0.3356, allocations: 64.09 kB / 0.5371 GB, free: 8.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3356, allocations: 4.062 kB / 0.5371 GB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.113e-05/0.3356, allocations: 66.97 kB / 0.5371 GB, free: 8.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.3357, allocations: 31.3 kB / 0.5372 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3357, allocations: 0 / 0.5372 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3357, allocations: 0 / 0.5372 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.116e-06/0.3357, allocations: 4.922 kB / 0.5372 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.3357, allocations: 0 / 0.5372 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.3358, allocations: 5.547 kB / 0.5372 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3358, allocations: 0 / 0.5372 GB, free: 8.684 MB / 398.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 0.0001046/0.3359, allocations: 138.2 kB / 0.5373 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.3359, allocations: 5.281 kB / 0.5373 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.077e-06/0.3359, allocations: 7.062 kB / 0.5373 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3359, allocations: 0 / 0.5373 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3359, allocations: 1.188 kB / 0.5373 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3359, allocations: 0 / 0.5373 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.3361, allocations: 155 kB / 0.5375 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3361, allocations: 1.438 kB / 0.5375 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-06/0.3361, allocations: 3.938 kB / 0.5375 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.3361, allocations: 0 / 0.5375 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.3361, allocations: 5.219 kB / 0.5375 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3361, allocations: 3.938 kB / 0.5375 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3361, allocations: 1.375 kB / 0.5375 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.3362, allocations: 89.77 kB / 0.5376 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.3363, allocations: 85.03 kB / 0.5376 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.3363, allocations: 1.438 kB / 0.5376 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-06/0.3363, allocations: 3.938 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.3363, allocations: 1.625 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3363, allocations: 8 kB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.17e-05/0.3364, allocations: 75.28 kB / 0.5377 GB, free: 8.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.3364, allocations: 1.531 kB / 0.5377 GB, free: 8.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000306/0.3367, allocations: 72.58 kB / 0.5378 GB, free: 8.008 MB / 398.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.001343/0.3381, allocations: 0.9075 MB / 0.5387 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.682e-05/0.3382, allocations: 60.23 kB / 0.5387 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3382, allocations: 7.938 kB / 0.5388 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.416e-05/0.3382, allocations: 62.53 kB / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.3384, allocations: 5.641 kB / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.3387, allocations: 137.7 kB / 0.539 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.339, allocations: 0.67 MB / 0.5396 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.935e-06/0.339, allocations: 7.922 kB / 0.5396 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.3391, allocations: 9.781 kB / 0.5396 GB, free: 6.254 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3391, allocations: 1.125 kB / 0.5396 GB, free: 6.254 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.3621, allocations: 3.107 MB / 0.5427 GB, free: 4.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.358, allocations: 18.08 kB / 0.5427 GB, free: 4.535 MB / 398.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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.csv","/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