Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001572/0.001572, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.001577/0.001577, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9267/0.9267, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2668/0.2668, allocations: 34.24 MB / 294.9 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 442.1 MB, free: 1.711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.485e-05, allocations: 12.47 kB / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0009371/0.0009519, allocations: 484.6 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1808/0.1818, allocations: 1.259 MB / 443.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.1818, allocations: 0 / 443.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.1818, allocations: 0 / 443.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.103e-06/0.1818, allocations: 0 / 443.9 MB, free: 43.13 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.001435/0.1833, allocations: 0.5972 MB / 444.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.027e-05/0.1833, allocations: 0 / 444.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.1833, allocations: 2.938 kB / 444.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.769e-05/0.1834, allocations: 0 / 444.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.156e-05/0.1834, allocations: 5.891 kB / 444.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-06/0.1834, allocations: 0 / 444.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006378/0.1898, allocations: 2.531 MB / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.1898, allocations: 2.875 kB / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.1898, allocations: 0 / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.1901, allocations: 208.8 kB / 447.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1901, allocations: 0 / 447.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1901, allocations: 0 / 447.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1901, allocations: 0 / 447.2 MB, free: 42.83 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.0002629/0.1904, allocations: 307.4 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1904, allocations: 8.812 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.905e-05/0.1905, allocations: 30.75 kB / 447.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.1905, allocations: 7.875 kB / 447.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.693e-05/0.1905, allocations: 109.1 kB / 447.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.1905, allocations: 384 / 447.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.1905, allocations: 3.281 kB / 447.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.614e-05/0.1906, allocations: 58.31 kB / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1906, allocations: 4.359 kB / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1906, allocations: 3.938 kB / 447.7 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1906, allocations: 0 / 447.7 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.1907, allocations: 28.64 kB / 447.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.272e-05/0.1907, allocations: 112.8 kB / 447.9 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.627e-05/0.1908, allocations: 57.16 kB / 447.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.405e-05/0.1908, allocations: 33.47 kB / 448 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.1908, allocations: 0 / 448 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1908, allocations: 56.27 kB / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.1908, allocations: 0 / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.191, allocations: 126.2 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.191, allocations: 80.02 kB / 448.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.541e-05/0.191, allocations: 89.86 kB / 448.3 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.191, allocations: 25.7 kB / 448.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-06/0.191, allocations: 80.27 kB / 448.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.191, allocations: 9.312 kB / 448.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.191, allocations: 15.95 kB / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.053e-05/0.1911, allocations: 313.8 kB / 448.8 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.1911, allocations: 25.7 kB / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-06/0.1911, allocations: 32.64 kB / 448.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.1911, allocations: 62.02 kB / 448.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1911, allocations: 0 / 448.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.485e-05/0.1912, allocations: 86.27 kB / 449 MB, free: 40.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1912, allocations: 41.45 kB / 449 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1912, allocations: 4.094 kB / 449 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1912, allocations: 3.938 kB / 449 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.1912, allocations: 3.375 kB / 449 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1912, allocations: 3.938 kB / 449 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.086e-05/0.1912, allocations: 0 / 449 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1912, allocations: 6.5 kB / 449 MB, free: 40.87 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 3.733e-05/0.1913, allocations: 135.9 kB / 449.1 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-06/0.1913, allocations: 0 / 449.1 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.087e-06/0.1913, allocations: 6 kB / 449.2 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1913, allocations: 3.938 kB / 449.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1913, allocations: 7.031 kB / 449.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1913, allocations: 0 / 449.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.478e-05/0.1913, allocations: 116.2 kB / 449.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1913, allocations: 2.781 kB / 449.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-07/0.1913, allocations: 0 / 449.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1913, allocations: 0 / 449.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.1913, allocations: 0 / 449.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1913, allocations: 3.938 kB / 449.3 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.1e-07/0.1913, allocations: 0 / 449.3 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.913e-05/0.1914, allocations: 118.2 kB / 449.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-06/0.1914, allocations: 14.45 kB / 449.4 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.1914, allocations: 0 / 449.4 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.27e-06/0.1914, allocations: 6.75 kB / 449.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.1914, allocations: 0 / 449.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.1914, allocations: 6.969 kB / 449.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.137e-06/0.1914, allocations: 78.22 kB / 449.5 MB, free: 40.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1914, allocations: 0 / 449.5 MB, free: 40.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.1916, allocations: 64.05 kB / 449.6 MB, free: 40.33 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.0006644/0.1923, allocations: 0.9814 MB / 450.5 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.121e-05/0.1923, allocations: 115.3 kB / 450.7 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1923, allocations: 0 / 450.7 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.347e-05/0.1924, allocations: 86.17 kB / 450.7 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.109e-05/0.1924, allocations: 3.938 kB / 450.7 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002306/0.1927, allocations: 162.3 kB / 450.9 MB, free: 39.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.286e-05/0.1927, allocations: 61.67 kB / 451 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.939e-06/0.1927, allocations: 3.938 kB / 451 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.1927, allocations: 11.34 kB / 451 MB, free: 39.11 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1927, allocations: 3 kB / 451 MB, free: 39.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.2081, allocations: 3.817 MB / 454.8 MB, free: 38.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.556/6.764, allocations: 8.188 kB / 454.8 MB, free: 38 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings_res.mat","/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_4.1.0_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.767169329337776]