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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 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.2433/0.2433, allocations: 44.91 MB / 353.5 MB, free: 11.8 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002034/0.002034, allocations: 67.89 kB / 497.7 MB, free: 1.012 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.385, allocations: 64.3 MB / 0.5488 GB, free: 13.12 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001712/0.3868, allocations: 497.7 kB / 0.5493 GB, free: 12.76 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002754/0.3895, allocations: 1.334 MB / 0.5506 GB, free: 11.75 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.3895, allocations: 9.438 kB / 0.5506 GB, free: 11.75 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.3895, allocations: 0 / 0.5506 GB, free: 11.75 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 5.18e-06/0.3895, allocations: 0 / 0.5506 GB, free: 11.75 MB / 398.1 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.001442/0.391, allocations: 0.5749 MB / 0.5511 GB, free: 11.39 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 6.007e-05/0.391, allocations: 5.078 kB / 0.5511 GB, free: 11.39 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.3911, allocations: 5.375 kB / 0.5512 GB, free: 11.39 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.678e-05/0.3911, allocations: 0 / 0.5512 GB, free: 11.39 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 2.414e-05/0.3911, allocations: 5.562 kB / 0.5512 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.361e-06/0.3911, allocations: 4 kB / 0.5512 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01727/0.4084, allocations: 2.546 MB / 0.5536 GB, free: 10.4 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.4084, allocations: 3.938 kB / 0.5537 GB, free: 10.39 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.4084, allocations: 1.031 kB / 0.5537 GB, free: 10.39 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.409, allocations: 167.7 kB / 0.5538 GB, free: 10.29 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.409, allocations: 0 / 0.5538 GB, free: 10.29 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.014e-06/0.409, allocations: 0 / 0.5538 GB, free: 10.29 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.37e-06/0.409, allocations: 1.062 kB / 0.5538 GB, free: 10.29 MB / 398.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.0004175/0.4094, allocations: 307.6 kB / 0.5541 GB, free: 9.98 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4094, allocations: 11.14 kB / 0.5541 GB, free: 9.98 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.4095, allocations: 0.9375 kB / 0.5541 GB, free: 9.98 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.4096, allocations: 111.6 kB / 0.5542 GB, free: 9.848 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.4096, allocations: 1.594 kB / 0.5542 GB, free: 9.848 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.4096, allocations: 1.625 kB / 0.5542 GB, free: 9.848 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.4097, allocations: 31.58 kB / 0.5543 GB, free: 9.812 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4097, allocations: 0 / 0.5543 GB, free: 9.812 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4097, allocations: 1.094 kB / 0.5543 GB, free: 9.812 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4097, allocations: 4 kB / 0.5543 GB, free: 9.809 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.747e-05/0.4098, allocations: 8.938 kB / 0.5543 GB, free: 9.801 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.4099, allocations: 123 kB / 0.5544 GB, free: 9.641 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.41, allocations: 24.72 kB / 0.5544 GB, free: 9.609 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.41, allocations: 6.016 kB / 0.5544 GB, free: 9.602 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.41, allocations: 0 / 0.5544 GB, free: 9.602 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.412e-05/0.4101, allocations: 65.23 kB / 0.5545 GB, free: 9.523 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.4101, allocations: 0 / 0.5545 GB, free: 9.523 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0002433/0.4104, allocations: 67.47 kB / 0.5545 GB, free: 9.453 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.4104, allocations: 82.41 kB / 0.5546 GB, free: 9.355 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.229e-05/0.4105, allocations: 89.86 kB / 0.5547 GB, free: 9.258 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.4105, allocations: 25.7 kB / 0.5547 GB, free: 9.227 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.4106, allocations: 81.55 kB / 0.5548 GB, free: 9.145 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.4106, allocations: 0 / 0.5548 GB, free: 9.145 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/0.4106, allocations: 12.19 kB / 0.5548 GB, free: 9.129 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001632/0.4108, allocations: 318.8 kB / 0.5551 GB, free: 8.809 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.4108, allocations: 1.062 kB / 0.5551 GB, free: 8.809 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-06/0.4108, allocations: 1.156 kB / 0.5551 GB, free: 8.809 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 6.872e-05/0.4109, allocations: 59.73 kB / 0.5552 GB, free: 8.738 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.4109, allocations: 3.984 kB / 0.5552 GB, free: 8.734 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 9.308e-05/0.411, allocations: 62.31 kB / 0.5553 GB, free: 8.668 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/0.411, allocations: 35.2 kB / 0.5553 GB, free: 8.633 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.4111, allocations: 5.312 kB / 0.5553 GB, free: 8.629 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4111, allocations: 0 / 0.5553 GB, free: 8.629 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.4111, allocations: 0 / 0.5553 GB, free: 8.629 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4111, allocations: 1.156 kB / 0.5553 GB, free: 8.629 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.4111, allocations: 0 / 0.5553 GB, free: 8.629 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.4111, allocations: 1.156 kB / 0.5553 GB, free: 8.629 MB / 398.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 0.000125/0.4112, allocations: 149.7 kB / 0.5554 GB, free: 8.469 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.4112, allocations: 5.094 kB / 0.5554 GB, free: 8.465 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.4113, allocations: 6.953 kB / 0.5554 GB, free: 8.453 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4113, allocations: 5.156 kB / 0.5555 GB, free: 8.449 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4113, allocations: 0 / 0.5555 GB, free: 8.449 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.4113, allocations: 0 / 0.5555 GB, free: 8.449 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.4114, allocations: 119.1 kB / 0.5556 GB, free: 8.293 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4114, allocations: 0 / 0.5556 GB, free: 8.293 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.4114, allocations: 1.094 kB / 0.5556 GB, free: 8.293 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.4114, allocations: 3.938 kB / 0.5556 GB, free: 8.289 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.4114, allocations: 1.125 kB / 0.5556 GB, free: 8.289 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4114, allocations: 3.938 kB / 0.5556 GB, free: 8.285 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4114, allocations: 1.125 kB / 0.5556 GB, free: 8.285 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.4116, allocations: 96.8 kB / 0.5557 GB, free: 8.176 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.4116, allocations: 5.938 kB / 0.5557 GB, free: 8.172 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.4116, allocations: 5.062 kB / 0.5557 GB, free: 8.168 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.152e-05/0.4116, allocations: 0 / 0.5557 GB, free: 8.168 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.4116, allocations: 0.9688 kB / 0.5557 GB, free: 8.168 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.4116, allocations: 9.031 kB / 0.5557 GB, free: 8.16 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 3.539e-05/0.4117, allocations: 75.28 kB / 0.5558 GB, free: 8.086 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.4117, allocations: 4.031 kB / 0.5558 GB, free: 8.082 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0003594/0.412, allocations: 66.23 kB / 0.5558 GB, free: 8.07 MB / 398.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.001219/0.4133, allocations: 404 kB / 0.5562 GB, free: 7.871 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001177/0.4134, allocations: 63.7 kB / 0.5563 GB, free: 7.801 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4134, allocations: 4.969 kB / 0.5563 GB, free: 7.797 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.583e-05/0.4134, allocations: 57.53 kB / 0.5563 GB, free: 7.73 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.4136, allocations: 2.312 kB / 0.5563 GB, free: 7.73 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.4138, allocations: 80.77 kB / 0.5564 GB, free: 7.633 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.4142, allocations: 0.6781 MB / 0.5571 GB, free: 6.93 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 6.662e-06/0.4142, allocations: 3.938 kB / 0.5571 GB, free: 6.926 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.4142, allocations: 10.25 kB / 0.5571 GB, free: 6.918 MB / 398.1 MB
Notification: Performance of SimCode: time 5.01e-07/0.4142, allocations: 0 / 0.5571 GB, free: 6.918 MB / 398.1 MB
Notification: Performance of Templates: time 0.006469/0.4207, allocations: 2.146 MB / 0.5592 GB, free: 5.004 MB / 398.1 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=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 480]
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.3404122274369]