Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009896/0.0009896, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9393/0.9393, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2539/0.2539, allocations: 32.8 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.497e-06/3.497e-06, allocations: 0 / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.617e-05, allocations: 6.281 kB / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001615/0.001651, allocations: 481.1 kB / 440 MB, free: 3.805 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.003541, allocations: 1.269 MB / 441.3 MB, free: 2.527 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.003563, allocations: 4 kB / 441.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.003583, allocations: 0 / 441.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.006e-06/0.003592, allocations: 0 / 441.3 MB, free: 2.523 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:4:3-220: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.001629/0.005221, allocations: 0.5839 MB / 441.9 MB, free: 1.938 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.627e-05/0.005278, allocations: 4 kB / 441.9 MB, free: 1.934 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.005325, allocations: 3.984 kB / 441.9 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.216e-05/0.005357, allocations: 3.984 kB / 441.9 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.506e-05/0.005382, allocations: 4 kB / 441.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.424e-06/0.005389, allocations: 0 / 441.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2115/0.2169, allocations: 2.53 MB / 444.4 MB, free: 44.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.2169, allocations: 2.062 kB / 444.4 MB, free: 44.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.2169, allocations: 3.25 kB / 444.4 MB, free: 44.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.2173, allocations: 201.4 kB / 444.6 MB, free: 44.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2173, allocations: 0 / 444.6 MB, free: 44.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2173, allocations: 0 / 444.6 MB, free: 44.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2173, allocations: 5.109 kB / 444.6 MB, free: 44.62 MB / 410.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.0002745/0.2175, allocations: 309.5 kB / 444.9 MB, free: 44.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2176, allocations: 9.062 kB / 444.9 MB, free: 44.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.043e-05/0.2176, allocations: 32.31 kB / 445 MB, free: 44.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.2176, allocations: 0.9375 kB / 445 MB, free: 44.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.991e-05/0.2177, allocations: 108.6 kB / 445.1 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2177, allocations: 4 kB / 445.1 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.2177, allocations: 384 / 445.1 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.277e-05/0.2178, allocations: 57.59 kB / 445.1 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2178, allocations: 5.594 kB / 445.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2178, allocations: 7.281 kB / 445.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2178, allocations: 0 / 445.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.846e-05/0.2178, allocations: 25.7 kB / 445.2 MB, free: 44.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.74e-05/0.2179, allocations: 117.2 kB / 445.3 MB, free: 43.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.219e-05/0.2179, allocations: 45.97 kB / 445.3 MB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.218, allocations: 34.97 kB / 445.4 MB, free: 43.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.218, allocations: 6.25 kB / 445.4 MB, free: 43.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.218, allocations: 61.95 kB / 445.4 MB, free: 43.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.72e-07/0.218, allocations: 0 / 445.4 MB, free: 43.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001598/0.2182, allocations: 120.9 kB / 445.6 MB, free: 43.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.2182, allocations: 80.2 kB / 445.6 MB, free: 43.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.3e-05/0.2182, allocations: 91.33 kB / 445.7 MB, free: 43.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-06/0.2182, allocations: 25.7 kB / 445.8 MB, free: 43.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.895e-06/0.2182, allocations: 80.14 kB / 445.8 MB, free: 43.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.2182, allocations: 5.328 kB / 445.8 MB, free: 43.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/0.2182, allocations: 15.12 kB / 445.9 MB, free: 43.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.435e-05/0.2183, allocations: 315 kB / 446.2 MB, free: 43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.2183, allocations: 28.45 kB / 446.2 MB, free: 42.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.2183, allocations: 28.92 kB / 446.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.2183, allocations: 65.7 kB / 446.3 MB, free: 42.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2183, allocations: 1.688 kB / 446.3 MB, free: 42.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.246e-05/0.2184, allocations: 87.14 kB / 446.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.2184, allocations: 32.08 kB / 446.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2184, allocations: 3.156 kB / 446.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2184, allocations: 7.641 kB / 446.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.2184, allocations: 0 / 446.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.2184, allocations: 0 / 446.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.2184, allocations: 7.203 kB / 446.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.2184, allocations: 0 / 446.4 MB, free: 42.73 MB / 410.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 4.559e-05/0.2185, allocations: 144.5 kB / 446.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-06/0.2185, allocations: 3.188 kB / 446.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.104e-05/0.2185, allocations: 7.406 kB / 446.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2185, allocations: 3.938 kB / 446.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2185, allocations: 0 / 446.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2185, allocations: 0 / 446.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.059e-05/0.2186, allocations: 119.1 kB / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.2186, allocations: 0 / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-07/0.2186, allocations: 1.094 kB / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.2186, allocations: 2.906 kB / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2186, allocations: 5.5 kB / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2186, allocations: 7.625 kB / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2186, allocations: 0 / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.616e-05/0.2186, allocations: 116 kB / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-06/0.2186, allocations: 3 kB / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.2186, allocations: 0 / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-06/0.2186, allocations: 10.38 kB / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.2187, allocations: 0 / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-06/0.2187, allocations: 7.062 kB / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.668e-06/0.2187, allocations: 75.28 kB / 446.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2187, allocations: 0 / 446.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002048/0.2189, allocations: 71.83 kB / 447 MB, free: 42.21 MB / 410.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.0007714/0.2196, allocations: 0.9768 MB / 448 MB, free: 41.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.344e-05/0.2197, allocations: 118.1 kB / 448.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2197, allocations: 0 / 448.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.661e-05/0.2198, allocations: 82.42 kB / 448.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.2199, allocations: 6.844 kB / 448.2 MB, free: 41.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.2201, allocations: 168.5 kB / 448.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.2202, allocations: 54.27 kB / 448.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.111e-06/0.2202, allocations: 0 / 448.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.2202, allocations: 11.34 kB / 448.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2202, allocations: 3.828 kB / 448.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.2396, allocations: 3.842 MB / 452.2 MB, free: 40 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/6.908, allocations: 4.438 kB / 452.2 MB, free: 39.99 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.csv: Error: Error opening file: ModelicaTest_4.0.0_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.993522610515356]