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.001684/0.001684, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001612/0.001612, allocations: 165.7 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.495/1.495, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.2198/0.2198, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 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: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.412e-06, allocations: 4 kB / 442.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.539e-05/4.18e-05, allocations: 2.281 kB / 442.6 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001814/0.001856, allocations: 497.3 kB / 443.1 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.004525, allocations: 1.269 MB / 444.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.00455, allocations: 0 / 444.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.004563, allocations: 0 / 444.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.004569, allocations: 0 / 444.4 MB, free: 3.664 MB / 366.1 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.001644/0.006213, allocations: 0.5801 MB / 445 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.00627, allocations: 7.922 kB / 445 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.00631, allocations: 8 kB / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.847e-05/0.006338, allocations: 0 / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.004e-05/0.006368, allocations: 0 / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.993e-06/0.006375, allocations: 3.938 kB / 445 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01794/0.02431, allocations: 2.546 MB / 447.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.02433, allocations: 0 / 447.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.02436, allocations: 0 / 447.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.02486, allocations: 207.6 kB / 447.7 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.02487, allocations: 8 kB / 447.8 MB, free: 0.832 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.02487, allocations: 0 / 447.8 MB, free: 0.832 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.02488, allocations: 0 / 447.8 MB, free: 0.832 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.0004661/0.02534, allocations: 299.8 kB / 448 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.0254, allocations: 12.03 kB / 448.1 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.02544, allocations: 0.9375 kB / 448.1 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.829e-05/0.02554, allocations: 101.8 kB / 448.2 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.02555, allocations: 384 / 448.2 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.02556, allocations: 4.375 kB / 448.2 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.02568, allocations: 55.97 kB / 448.2 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.02569, allocations: 192 / 448.2 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.0257, allocations: 12.12 kB / 448.2 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.02571, allocations: 4 kB / 448.2 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.932e-05/0.02575, allocations: 33.62 kB / 448.3 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.02588, allocations: 97.27 kB / 448.4 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.255e-05/0.02594, allocations: 44.31 kB / 448.4 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/0.02598, allocations: 34.56 kB / 448.4 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.02599, allocations: 4.062 kB / 448.4 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1978/0.2238, allocations: 56.27 kB / 448.5 MB, free: 19.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 3.657e-06/0.2238, allocations: 0 / 448.5 MB, free: 19.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001963/0.224, allocations: 117.5 kB / 448.6 MB, free: 19.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.224, allocations: 81.73 kB / 448.7 MB, free: 19.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.797e-05/0.224, allocations: 93.33 kB / 448.8 MB, free: 19.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.191e-06/0.224, allocations: 25.7 kB / 448.8 MB, free: 19.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.317e-06/0.224, allocations: 81.05 kB / 448.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.224, allocations: 1.25 kB / 448.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.2241, allocations: 12.88 kB / 448.9 MB, free: 19.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.03e-05/0.2241, allocations: 318.1 kB / 449.2 MB, free: 18.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.2241, allocations: 27.55 kB / 449.2 MB, free: 18.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.139e-05/0.2241, allocations: 27.52 kB / 449.3 MB, free: 18.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.166e-05/0.2242, allocations: 64.19 kB / 449.3 MB, free: 18.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2242, allocations: 1.094 kB / 449.3 MB, free: 18.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.936e-05/0.2242, allocations: 92.44 kB / 449.4 MB, free: 18.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.2243, allocations: 35.78 kB / 449.5 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2243, allocations: 0 / 449.5 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2243, allocations: 1.125 kB / 449.5 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.2243, allocations: 0.6562 kB / 449.5 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.2243, allocations: 2.25 kB / 449.5 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.467e-05/0.2243, allocations: 3.594 kB / 449.5 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.2243, allocations: 1.891 kB / 449.5 MB, free: 18.57 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 4.554e-05/0.2244, allocations: 136.8 kB / 449.6 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.2244, allocations: 5.609 kB / 449.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.009e-05/0.2244, allocations: 3.75 kB / 449.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2244, allocations: 4.812 kB / 449.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2244, allocations: 0 / 449.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2244, allocations: 0.9688 kB / 449.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.175e-05/0.2244, allocations: 95.94 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2244, allocations: 2.031 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.2244, allocations: 0 / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2244, allocations: 3.938 kB / 449.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2244, allocations: 4.078 kB / 449.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.2244, allocations: 0 / 449.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2244, allocations: 1.5 kB / 449.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.518e-05/0.2245, allocations: 122.9 kB / 449.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.2245, allocations: 5.922 kB / 449.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.2245, allocations: 5.938 kB / 449.8 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-06/0.2245, allocations: 2.625 kB / 449.9 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-06/0.2245, allocations: 3.938 kB / 449.9 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2245, allocations: 1.719 kB / 449.9 MB, free: 18.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.01e-05/0.2246, allocations: 76.38 kB / 449.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2246, allocations: 0 / 449.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.2249, allocations: 73.64 kB / 450 MB, free: 18.09 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.00102/0.2259, allocations: 425.4 kB / 450.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.547e-05/0.226, allocations: 116.6 kB / 450.5 MB, free: 17.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.226, allocations: 0 / 450.5 MB, free: 17.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.215e-05/0.226, allocations: 81.94 kB / 450.6 MB, free: 17.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.2261, allocations: 2.953 kB / 450.6 MB, free: 17.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001668/0.2263, allocations: 110.1 kB / 450.7 MB, free: 17.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.654e-05/0.2263, allocations: 54.92 kB / 450.8 MB, free: 17.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.129e-06/0.2263, allocations: 3.938 kB / 450.8 MB, free: 17.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.2264, allocations: 15.34 kB / 450.8 MB, free: 17.55 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2264, allocations: 0 / 450.8 MB, free: 17.55 MB / 366.1 MB Notification: Performance of Templates: time 0.005654/0.232, allocations: 2.174 MB / 453 MB, free: 17.37 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 480] 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: 4.977863322943449]