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.001114/0.001114, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.001202/0.001202, allocations: 161 kB / 24.56 MB, free: 20 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 0.9999/0.9999, allocations: 177.1 MB / 205 MB, free: 5.613 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.2633/0.2633, allocations: 34.26 MB / 295.7 MB, free: 0.7734 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: 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 2.175e-06/2.175e-06, allocations: 0 / 378 MB, free: 2.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.393e-05, allocations: 2.312 kB / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.00156/0.001593, allocations: 0.4888 MB / 378.5 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.003913, allocations: 1.297 MB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.003937, allocations: 0 / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.003961, allocations: 3.938 kB / 379.8 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.845e-06/0.003969, allocations: 0 / 379.8 MB, free: 0.8945 MB / 346.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.001573/0.005542, allocations: 0.5879 MB / 380.4 MB, free: 312 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.338e-05/0.005636, allocations: 4 kB / 380.4 MB, free: 308 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.005684, allocations: 3.984 kB / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.005721, allocations: 0 / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.683e-05/0.005748, allocations: 0 / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.005757, allocations: 0 / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009536/0.01529, allocations: 3.74 MB / 384.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.01531, allocations: 4 kB / 384.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.01534, allocations: 0 / 384.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.0157, allocations: 207.6 kB / 384.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.01571, allocations: 0 / 384.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.01571, allocations: 0 / 384.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.01572, allocations: 0 / 384.3 MB, free: 13.31 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.0003568/0.01608, allocations: 405.8 kB / 384.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.01612, allocations: 12.03 kB / 384.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.01617, allocations: 0.9375 kB / 384.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.725e-05/0.01624, allocations: 108.6 kB / 384.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.01625, allocations: 4.375 kB / 384.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.01626, allocations: 8.375 kB / 384.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.01638, allocations: 59.95 kB / 384.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.01638, allocations: 192 / 384.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.0164, allocations: 4.125 kB / 384.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.0164, allocations: 3.938 kB / 384.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.942e-05/0.01642, allocations: 25.7 kB / 385 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.01653, allocations: 112.6 kB / 385.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.337e-05/0.0166, allocations: 52.75 kB / 385.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.01662, allocations: 37.48 kB / 385.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-06/0.01663, allocations: 4 kB / 385.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.01667, allocations: 59.09 kB / 385.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.723e-06/0.01667, allocations: 3.984 kB / 385.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002302/0.0169, allocations: 126.7 kB / 385.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.01695, allocations: 81.05 kB / 385.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.01703, allocations: 142.2 kB / 385.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.01704, allocations: 25.7 kB / 385.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.01708, allocations: 126.9 kB / 385.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.0171, allocations: 3.938 kB / 385.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.01714, allocations: 23.31 kB / 385.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.01728, allocations: 496.2 kB / 386.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.992e-05/0.01731, allocations: 33.7 kB / 386.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.01732, allocations: 29.69 kB / 386.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.823e-05/0.01742, allocations: 67.03 kB / 386.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01742, allocations: 0 / 386.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.023e-05/0.01749, allocations: 85.11 kB / 386.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.01753, allocations: 36.66 kB / 386.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.01754, allocations: 0 / 386.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.01756, allocations: 0 / 386.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.617e-06/0.01756, allocations: 96 / 386.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.01757, allocations: 11.94 kB / 386.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.01759, allocations: 0 / 386.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.01759, allocations: 0 / 386.5 MB, free: 10.87 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 7.26e-05/0.01767, allocations: 186.3 kB / 386.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-06/0.01767, allocations: 0 / 386.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.485e-05/0.01769, allocations: 3 kB / 386.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.01769, allocations: 0 / 386.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.0177, allocations: 3.938 kB / 386.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.0177, allocations: 3.984 kB / 386.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.187e-05/0.01776, allocations: 108.6 kB / 386.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.01776, allocations: 4 kB / 386.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-07/0.01776, allocations: 0 / 386.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.01776, allocations: 3.938 kB / 386.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.01777, allocations: 0 / 386.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01777, allocations: 4 kB / 386.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01777, allocations: 0 / 386.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.178e-05/0.01787, allocations: 131.8 kB / 386.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-06/0.01787, allocations: 0 / 386.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.01789, allocations: 4 kB / 386.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-06/0.01789, allocations: 4 kB / 386.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.0179, allocations: 4.031 kB / 386.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.01791, allocations: 3.938 kB / 386.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.791e-05/0.01794, allocations: 123.2 kB / 387.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01794, allocations: 0 / 387.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002031/0.01814, allocations: 71.81 kB / 387.1 MB, free: 10.14 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.0007596/0.0189, allocations: 459.1 kB / 387.6 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.01902, allocations: 122.4 kB / 387.7 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.01903, allocations: 4 kB / 387.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.158e-05/0.01906, allocations: 88.8 kB / 387.8 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.825e-05/0.01916, allocations: 3.984 kB / 387.8 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.01936, allocations: 113.7 kB / 387.9 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.423e-05/0.0194, allocations: 59.3 kB / 388 MB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.022e-06/0.0194, allocations: 0 / 388 MB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.01942, allocations: 12.62 kB / 388 MB, free: 9.273 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01942, allocations: 0 / 388 MB, free: 9.273 MB / 362.7 MB Notification: Performance of Templates: time 0.004152/0.02357, allocations: 2.183 MB / 390.1 MB, free: 7.094 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.394862432964146]