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.001362/0.001362, allocations: 75.75 kB / 21.25 MB, free: 0.5352 MB / 14.72 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.001489/0.001489, allocations: 165.4 kB / 24.5 MB, free: 3.707 MB / 14.72 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 1.481/1.481, allocations: 177.1 MB / 204.7 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] 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.2172/0.2172, allocations: 34.26 MB / 295.4 MB, free: 14.46 MB / 286.1 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: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 83.88 kB / 443.1 MB, free: 6.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3093, allocations: 66.05 MB / 0.4972 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001492/0.3108, allocations: 0.4906 MB / 0.4977 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.3128, allocations: 1.299 MB / 0.499 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.337e-05/0.3128, allocations: 0 / 0.499 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.144e-05/0.3128, allocations: 3.938 kB / 0.499 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.3128, allocations: 0 / 0.499 GB, free: 28.69 MB / 446.1 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.001228/0.314, allocations: 0.6079 MB / 0.4996 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.622e-05/0.3141, allocations: 7.312 kB / 0.4996 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.337e-05/0.3141, allocations: 0 / 0.4996 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.47e-05/0.3141, allocations: 3.094 kB / 0.4996 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.899e-05/0.3141, allocations: 0 / 0.4996 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-06/0.3142, allocations: 0 / 0.4996 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02261/0.3368, allocations: 3.41 MB / 0.5029 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.3368, allocations: 0 / 0.5029 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.3368, allocations: 6.75 kB / 0.5029 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.3371, allocations: 166.4 kB / 0.5031 GB, free: 27.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3371, allocations: 0 / 0.5031 GB, free: 27.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3371, allocations: 3.938 kB / 0.5031 GB, free: 27.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3372, allocations: 0 / 0.5031 GB, free: 27.41 MB / 446.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.0002692/0.3374, allocations: 310.4 kB / 0.5034 GB, free: 27.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.3375, allocations: 9.688 kB / 0.5034 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.3375, allocations: 0.9375 kB / 0.5034 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.12e-05/0.3375, allocations: 112.8 kB / 0.5035 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3375, allocations: 384 / 0.5035 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.3375, allocations: 384 / 0.5035 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.304e-05/0.3376, allocations: 55.06 kB / 0.5036 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3376, allocations: 192 / 0.5036 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.3376, allocations: 3.938 kB / 0.5036 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3376, allocations: 3.188 kB / 0.5036 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.062e-05/0.3377, allocations: 33.64 kB / 0.5036 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.56e-05/0.3377, allocations: 99.94 kB / 0.5037 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.936e-05/0.3378, allocations: 40.28 kB / 0.5037 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.3378, allocations: 37.38 kB / 0.5038 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.3378, allocations: 0 / 0.5038 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.3378, allocations: 63.61 kB / 0.5038 GB, free: 26.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.3378, allocations: 0 / 0.5038 GB, free: 26.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001366/0.3379, allocations: 122.7 kB / 0.5039 GB, free: 26.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.338, allocations: 77.11 kB / 0.504 GB, free: 26.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.676e-05/0.338, allocations: 89.86 kB / 0.5041 GB, free: 26.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.338, allocations: 25.7 kB / 0.5041 GB, free: 26.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.157e-06/0.338, allocations: 80.14 kB / 0.5042 GB, free: 26.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.338, allocations: 10.67 kB / 0.5042 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.338, allocations: 13.84 kB / 0.5042 GB, free: 26.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.842e-05/0.3381, allocations: 313.9 kB / 0.5045 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.3381, allocations: 29.7 kB / 0.5046 GB, free: 25.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-06/0.3381, allocations: 28.73 kB / 0.5046 GB, free: 25.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.584e-05/0.3381, allocations: 63.73 kB / 0.5046 GB, free: 25.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3381, allocations: 0 / 0.5046 GB, free: 25.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.324e-05/0.3382, allocations: 91.22 kB / 0.5047 GB, free: 25.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3382, allocations: 35.98 kB / 0.5048 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.3382, allocations: 0 / 0.5048 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.3382, allocations: 4.094 kB / 0.5048 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.3382, allocations: 7.359 kB / 0.5048 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3382, allocations: 0 / 0.5048 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.3382, allocations: 7.141 kB / 0.5048 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3383, allocations: 0 / 0.5048 GB, free: 25.51 MB / 446.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.192e-05/0.3383, allocations: 134.7 kB / 0.5049 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.3383, allocations: 4 kB / 0.5049 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-06/0.3383, allocations: 3 kB / 0.5049 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3383, allocations: 7.875 kB / 0.5049 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3383, allocations: 0 / 0.5049 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.3383, allocations: 4 kB / 0.5049 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.892e-05/0.3384, allocations: 99.84 kB / 0.505 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3384, allocations: 0 / 0.505 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3384, allocations: 0 / 0.505 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.3384, allocations: 0 / 0.505 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3384, allocations: 3.094 kB / 0.505 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.3384, allocations: 0 / 0.505 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3384, allocations: 3.938 kB / 0.505 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.403e-05/0.3384, allocations: 120.6 kB / 0.5051 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-06/0.3384, allocations: 0 / 0.5051 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.3385, allocations: 3.031 kB / 0.5051 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-06/0.3385, allocations: 7.547 kB / 0.5052 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.3385, allocations: 3.938 kB / 0.5052 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.3385, allocations: 0 / 0.5052 GB, free: 25.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.105e-05/0.3385, allocations: 78.25 kB / 0.5052 GB, free: 25 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3385, allocations: 0 / 0.5052 GB, free: 25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.3388, allocations: 74.92 kB / 0.5053 GB, free: 24.99 MB / 446.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.0009232/0.3397, allocations: 432.7 kB / 0.5057 GB, free: 24.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.364e-05/0.3398, allocations: 114.9 kB / 0.5058 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3398, allocations: 0 / 0.5058 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.173e-05/0.3398, allocations: 86.08 kB / 0.5059 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.3399, allocations: 6.375 kB / 0.5059 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001485/0.3401, allocations: 112.9 kB / 0.506 GB, free: 24.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.416e-05/0.3401, allocations: 54.58 kB / 0.5061 GB, free: 24.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.879e-06/0.3401, allocations: 0 / 0.5061 GB, free: 24.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.13e-05/0.3401, allocations: 15.84 kB / 0.5061 GB, free: 24.34 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3401, allocations: 0 / 0.5061 GB, free: 24.34 MB / 446.1 MB Notification: Performance of Templates: time 0.004499/0.3446, allocations: 2.211 MB / 0.5082 GB, free: 24.12 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.975726942997426]