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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000832/0.000832, allocations: 96.27 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008136/0.0008136, allocations: 156.9 kB / 24.26 MB, free: 180 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8964/0.8964, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 34.24 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 376.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.384e-05, allocations: 4.844 kB / 376.7 MB, free: 3.449 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0009269/0.0009407, allocations: 489.1 kB / 377.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.002809, allocations: 1.304 MB / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.424e-05/0.002824, allocations: 0 / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.002839, allocations: 3.938 kB / 378.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.002844, allocations: 4 kB / 378.5 MB, free: 1.652 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:4:3-230: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.0009667/0.003811, allocations: 0.6152 MB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.784e-05/0.003859, allocations: 0 / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.917e-05/0.003888, allocations: 0 / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.795e-05/0.003916, allocations: 11.92 kB / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.152e-05/0.003937, allocations: 0 / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.193e-06/0.003945, allocations: 0 / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008645/0.01259, allocations: 3.394 MB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.0126, allocations: 3.938 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.01262, allocations: 3.938 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.01293, allocations: 211.6 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.01293, allocations: 0 / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01293, allocations: 0 / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.01293, allocations: 4 kB / 382.7 MB, free: 14.16 MB / 362.7 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.0002825/0.01322, allocations: 303.8 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.01326, allocations: 8.031 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.376e-05/0.01328, allocations: 34.75 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.01331, allocations: 0.9375 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.775e-05/0.01337, allocations: 109.8 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.01337, allocations: 384 / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.01338, allocations: 4.375 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.889e-05/0.01347, allocations: 55.91 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.01348, allocations: 4.188 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.01349, allocations: 4.375 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.01349, allocations: 12.11 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.292e-05/0.01352, allocations: 25.7 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.793e-05/0.0136, allocations: 116.8 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.791e-05/0.01365, allocations: 48.31 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.01367, allocations: 30.56 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-06/0.01367, allocations: 8 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.01371, allocations: 56.27 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.01371, allocations: 0 / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001613/0.01387, allocations: 118.9 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.01391, allocations: 89.08 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.549e-05/0.01393, allocations: 89.86 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.01394, allocations: 25.7 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.684e-05/0.01396, allocations: 80.14 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.01397, allocations: 0 / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.01399, allocations: 13.72 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.01407, allocations: 314.8 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.01408, allocations: 25.7 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.01409, allocations: 37.64 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.01413, allocations: 64.33 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01413, allocations: 3.938 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.808e-05/0.01418, allocations: 85.09 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.0142, allocations: 37.7 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01421, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.01422, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-06/0.01422, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.01423, allocations: 3.938 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.028e-05/0.01424, allocations: 4 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.01424, allocations: 0 / 384.5 MB, free: 12.08 MB / 362.7 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.03e-05/0.01431, allocations: 139.5 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.01433, allocations: 4 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.458e-06/0.01434, allocations: 6.984 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.01434, allocations: 0 / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01434, allocations: 3.938 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.01434, allocations: 0 / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.606e-05/0.0144, allocations: 116.8 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.0144, allocations: 0 / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-07/0.0144, allocations: 0 / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.0144, allocations: 0 / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.01441, allocations: 0 / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.01441, allocations: 4 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.01441, allocations: 7.922 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.297e-05/0.01448, allocations: 116.5 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-06/0.01449, allocations: 3.984 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.0145, allocations: 0 / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.082e-06/0.0145, allocations: 4 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.01452, allocations: 19.86 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.01452, allocations: 0 / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.949e-05/0.01455, allocations: 75.28 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01455, allocations: 0 / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.01473, allocations: 83.77 kB / 385.1 MB, free: 11.42 MB / 362.7 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.0007432/0.01547, allocations: 0.9763 MB / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.424e-05/0.01556, allocations: 114.8 kB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.01556, allocations: 0 / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.01558, allocations: 89.11 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.497e-05/0.01568, allocations: 7.594 kB / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.01597, allocations: 181.4 kB / 386.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.274e-05/0.016, allocations: 55.34 kB / 386.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.809e-06/0.01601, allocations: 0 / 386.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.01602, allocations: 16.48 kB / 386.5 MB, free: 9.906 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01602, allocations: 0 / 386.5 MB, free: 9.906 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.03084, allocations: 3.981 MB / 390.5 MB, free: 5.988 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.084, allocations: 7.875 kB / 390.5 MB, free: 5.98 MB / 362.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.csv: Error: Error opening file: ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.csv " [Timeout remaining time 660] "" Variables in the reference:time Variables in the result: [Calling sys.exit(0), Time elapsed: 8.933354066684842]