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.002027/0.002027, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002953/0.002953, allocations: 169.6 kB / 24.28 MB, free: 152 kB / 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 1.616/1.616, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3679/0.3679, allocations: 32.8 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 375.2 MB, free: 5.043 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.418e-05/4.664e-05, allocations: 6.25 kB / 375.2 MB, free: 5.035 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001638/0.001685, allocations: 0.5004 MB / 375.7 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.004657, allocations: 1.281 MB / 377 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.756e-05/0.004674, allocations: 0 / 377 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.004686, allocations: 3.938 kB / 377 MB, free: 3.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.004692, allocations: 0 / 377 MB, free: 3.242 MB / 346.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.001826/0.006518, allocations: 0.5878 MB / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.339e-05/0.006571, allocations: 7.984 kB / 377.6 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.006606, allocations: 7.984 kB / 377.6 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.368e-05/0.00664, allocations: 4 kB / 377.6 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.219e-05/0.006662, allocations: 0 / 377.6 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.00667, allocations: 0 / 377.6 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02537/0.03204, allocations: 3.738 MB / 381.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.03205, allocations: 0 / 381.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.03208, allocations: 4 kB / 381.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004452/0.03253, allocations: 207.4 kB / 381.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.03253, allocations: 0 / 381.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.03253, allocations: 0 / 381.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.03253, allocations: 4 kB / 381.6 MB, free: 15.64 MB / 362.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.0004775/0.03301, allocations: 409.8 kB / 382 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.03305, allocations: 8.031 kB / 382 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.03309, allocations: 4.875 kB / 382 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.898e-05/0.03319, allocations: 108.6 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.0332, allocations: 384 / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.0332, allocations: 384 / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.03331, allocations: 55.97 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.03331, allocations: 4.125 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.03333, allocations: 8.109 kB / 382.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.03333, allocations: 4 kB / 382.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.931e-05/0.03337, allocations: 29.7 kB / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.03351, allocations: 112.6 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.315e-05/0.03359, allocations: 52.8 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.03363, allocations: 33.39 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.03364, allocations: 0 / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/0.0337, allocations: 67.14 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.0337, allocations: 0 / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002392/0.03394, allocations: 118.8 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.034, allocations: 81.05 kB / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.03409, allocations: 146.4 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.03411, allocations: 25.7 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.03419, allocations: 134.9 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.0342, allocations: 0 / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.03424, allocations: 19.38 kB / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002602/0.0345, allocations: 496.1 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.03453, allocations: 25.7 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-05/0.03455, allocations: 25.7 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.85e-05/0.03462, allocations: 67.03 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.03462, allocations: 0 / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001018/0.03472, allocations: 97.16 kB / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.03477, allocations: 33.7 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.03478, allocations: 0 / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.03479, allocations: 0 / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-07/0.03479, allocations: 0 / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.0348, allocations: 3.938 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.268e-05/0.03481, allocations: 0 / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.03482, allocations: 4 kB / 383.7 MB, free: 13.21 MB / 362.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 0.0001261/0.03495, allocations: 182.3 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.03496, allocations: 11.97 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.919e-06/0.03497, allocations: 7 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.03497, allocations: 0 / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.03497, allocations: 3.938 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.03498, allocations: 0 / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.03508, allocations: 112.6 kB / 384 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.03508, allocations: 3.938 kB / 384 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-06/0.03508, allocations: 3.984 kB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.03509, allocations: 0 / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.03509, allocations: 3.984 kB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.03509, allocations: 0 / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.0351, allocations: 4 kB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.03525, allocations: 135.8 kB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-06/0.03526, allocations: 0 / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.03527, allocations: 0 / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-06/0.03527, allocations: 0 / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.03529, allocations: 4 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.0353, allocations: 7.938 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.291e-05/0.03536, allocations: 119.2 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03536, allocations: 0 / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003037/0.03567, allocations: 67.86 kB / 384.3 MB, free: 12.47 MB / 362.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.001434/0.0371, allocations: 448.3 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.03726, allocations: 122.4 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.03726, allocations: 0 / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.624e-05/0.03734, allocations: 92.8 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.03747, allocations: 8.125 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.03771, allocations: 113.6 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.987e-05/0.03777, allocations: 59.3 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.929e-06/0.03778, allocations: 0 / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.03779, allocations: 8.5 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.03779, allocations: 0 / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of Templates: time 0.00597/0.04376, allocations: 2.197 MB / 387.4 MB, free: 9.426 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.055767932906747]