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.001767/0.001767, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002342/0.002342, allocations: 168.5 kB / 24.5 MB, free: 3.453 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.485/1.485, allocations: 177.2 MB / 204.9 MB, free: 9.051 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.3012/0.3012, allocations: 34.26 MB / 295.5 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002104/0.002104, allocations: 63.91 kB / 443.1 MB, free: 6.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.308, allocations: 66.01 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001467/0.3095, allocations: 496.7 kB / 0.4977 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3114, allocations: 1.271 MB / 0.4989 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.3114, allocations: 3.219 kB / 0.4989 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.142e-05/0.3114, allocations: 0 / 0.4989 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.921e-06/0.3114, allocations: 0 / 0.4989 GB, free: 28.77 MB / 446.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.00114/0.3125, allocations: 0.5741 MB / 0.4995 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.834e-05/0.3126, allocations: 0 / 0.4995 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.016e-05/0.3126, allocations: 10.78 kB / 0.4995 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.369e-05/0.3126, allocations: 3.984 kB / 0.4995 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.795e-05/0.3127, allocations: 0 / 0.4995 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-06/0.3127, allocations: 0 / 0.4995 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01627/0.3289, allocations: 2.533 MB / 0.502 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.3289, allocations: 7.922 kB / 0.502 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.329, allocations: 10.62 kB / 0.502 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.3293, allocations: 155.8 kB / 0.5021 GB, free: 27.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3293, allocations: 7.125 kB / 0.5021 GB, free: 27.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3293, allocations: 0 / 0.5021 GB, free: 27.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3293, allocations: 0 / 0.5021 GB, free: 27.75 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.0003249/0.3297, allocations: 303.6 kB / 0.5024 GB, free: 27.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3297, allocations: 8.875 kB / 0.5024 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.3297, allocations: 4.031 kB / 0.5024 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.633e-05/0.3298, allocations: 106.5 kB / 0.5025 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3298, allocations: 384 / 0.5025 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.3298, allocations: 3.406 kB / 0.5025 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.37e-05/0.3299, allocations: 59.09 kB / 0.5026 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.3299, allocations: 3.219 kB / 0.5026 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3299, allocations: 4 kB / 0.5026 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3299, allocations: 0 / 0.5026 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.621e-05/0.33, allocations: 29.64 kB / 0.5026 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.245e-05/0.3301, allocations: 100.5 kB / 0.5027 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.96e-05/0.3301, allocations: 50.8 kB / 0.5028 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.3301, allocations: 30.56 kB / 0.5028 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.3301, allocations: 0 / 0.5028 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.3302, allocations: 59.36 kB / 0.5029 GB, free: 26.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.3302, allocations: 0 / 0.5029 GB, free: 26.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001927/0.3304, allocations: 131.5 kB / 0.503 GB, free: 26.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.3304, allocations: 77.11 kB / 0.5031 GB, free: 26.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.625e-05/0.3304, allocations: 89.86 kB / 0.5032 GB, free: 26.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.3304, allocations: 25.7 kB / 0.5032 GB, free: 26.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.427e-05/0.3304, allocations: 83.3 kB / 0.5033 GB, free: 26.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.3305, allocations: 0 / 0.5033 GB, free: 26.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.3305, allocations: 9.719 kB / 0.5033 GB, free: 26.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.635e-05/0.3305, allocations: 317.5 kB / 0.5036 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.3306, allocations: 25.7 kB / 0.5036 GB, free: 26.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.3306, allocations: 32.92 kB / 0.5036 GB, free: 26.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.3306, allocations: 71.2 kB / 0.5037 GB, free: 25.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3306, allocations: 0 / 0.5037 GB, free: 25.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.295e-05/0.3307, allocations: 90.5 kB / 0.5038 GB, free: 25.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.3307, allocations: 35.52 kB / 0.5038 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3307, allocations: 3.938 kB / 0.5038 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3307, allocations: 2.938 kB / 0.5038 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.3307, allocations: 0 / 0.5038 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3307, allocations: 0 / 0.5038 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.3308, allocations: 7.938 kB / 0.5038 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3308, allocations: 3.938 kB / 0.5038 GB, free: 25.84 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 6.549e-05/0.3308, allocations: 145.7 kB / 0.504 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.3308, allocations: 3.188 kB / 0.504 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.289e-05/0.3309, allocations: 6.938 kB / 0.504 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3309, allocations: 0 / 0.504 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3309, allocations: 0 / 0.504 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3309, allocations: 0 / 0.504 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.258e-05/0.3309, allocations: 96.36 kB / 0.5041 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3309, allocations: 3.516 kB / 0.5041 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.3309, allocations: 0 / 0.5041 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.3309, allocations: 0 / 0.5041 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3309, allocations: 3.062 kB / 0.5041 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3309, allocations: 7.938 kB / 0.5041 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3309, allocations: 0 / 0.5041 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.694e-05/0.331, allocations: 120.2 kB / 0.5042 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-06/0.331, allocations: 0 / 0.5042 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.331, allocations: 7.156 kB / 0.5042 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-06/0.331, allocations: 3.938 kB / 0.5042 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.3311, allocations: 0 / 0.5042 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.3311, allocations: 0 / 0.5042 GB, free: 25.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.216e-05/0.3311, allocations: 78.44 kB / 0.5043 GB, free: 25.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3311, allocations: 0 / 0.5043 GB, free: 25.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.3314, allocations: 76.08 kB / 0.5044 GB, free: 25.32 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.001031/0.3324, allocations: 424.4 kB / 0.5048 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.3325, allocations: 111.4 kB / 0.5049 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3325, allocations: 2.75 kB / 0.5049 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.947e-05/0.3325, allocations: 87.73 kB / 0.505 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.3327, allocations: 5.969 kB / 0.505 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001662/0.3328, allocations: 108.4 kB / 0.5051 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.933e-05/0.3329, allocations: 54.11 kB / 0.5051 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.262e-06/0.3329, allocations: 0 / 0.5051 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.113e-05/0.3329, allocations: 11.5 kB / 0.5051 GB, free: 24.7 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3329, allocations: 0 / 0.5051 GB, free: 24.7 MB / 446.1 MB Notification: Performance of Templates: time 0.004611/0.3375, allocations: 2.132 MB / 0.5072 GB, free: 24.49 MB / 446.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 -s ida -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/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_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: 5.302258534007706]