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.00203/0.00203, allocations: 103.5 kB / 20.97 MB, free: 3.449 MB / 18.57 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.002138/0.002138, allocations: 156.8 kB / 24.27 MB, free: 152 kB / 18.57 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.601/1.601, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3596/0.3596, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 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 2.054e-06/2.054e-06, allocations: 0 / 377.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.515e-05/3.72e-05, allocations: 4.703 kB / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.002161/0.002198, allocations: 489 kB / 377.7 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004039/0.006237, allocations: 1.327 MB / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.006254, allocations: 0 / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.006269, allocations: 0 / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.791e-06/0.006274, allocations: 7.938 kB / 379 MB, free: 1.129 MB / 346.7 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.002381/0.008655, allocations: 0.6074 MB / 379.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.704e-05/0.008722, allocations: 4 kB / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.00877, allocations: 0 / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.686e-05/0.008817, allocations: 0 / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.134e-05/0.008858, allocations: 7.938 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.008875, allocations: 3.984 kB / 379.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0389/0.04778, allocations: 5.121 MB / 384.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.04779, allocations: 0 / 384.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.04782, allocations: 7.938 kB / 384.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.0483, allocations: 203.6 kB / 384.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.04831, allocations: 4 kB / 384.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.04831, allocations: 0 / 384.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.04832, allocations: 4 kB / 384.9 MB, free: 12.44 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.0005062/0.04882, allocations: 413.7 kB / 385.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.04886, allocations: 8.031 kB / 385.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.0489, allocations: 0.9375 kB / 385.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.498e-05/0.049, allocations: 104.6 kB / 385.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.04901, allocations: 4.375 kB / 385.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.04902, allocations: 384 / 385.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.04913, allocations: 59.91 kB / 385.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.04913, allocations: 192 / 385.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.04914, allocations: 384 / 385.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.04915, allocations: 4.375 kB / 385.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.782e-05/0.04918, allocations: 33.62 kB / 385.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.04934, allocations: 112.6 kB / 385.7 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.115e-05/0.04942, allocations: 52.8 kB / 385.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.04945, allocations: 33.39 kB / 385.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.04946, allocations: 0 / 385.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/0.04952, allocations: 67.09 kB / 385.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.04952, allocations: 0 / 385.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002345/0.04976, allocations: 118.8 kB / 385.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.04982, allocations: 77.23 kB / 386 MB, free: 11.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.896e-05/0.04991, allocations: 146.2 kB / 386.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.04993, allocations: 25.7 kB / 386.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.05, allocations: 126.9 kB / 386.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.05002, allocations: 4 kB / 386.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.05006, allocations: 23.36 kB / 386.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002777/0.05034, allocations: 496.1 kB / 386.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.05037, allocations: 29.7 kB / 386.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.54e-05/0.0504, allocations: 29.64 kB / 386.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.182e-05/0.05047, allocations: 63.09 kB / 386.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.05047, allocations: 4.062 kB / 386.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001099/0.05058, allocations: 93.09 kB / 387 MB, free: 10.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.05062, allocations: 33.7 kB / 387.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.05062, allocations: 0 / 387.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.05064, allocations: 3.938 kB / 387.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.05064, allocations: 0 / 387.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.05064, allocations: 0 / 387.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.05066, allocations: 3.938 kB / 387.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.05067, allocations: 0 / 387.1 MB, free: 10.01 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.0001377/0.0508, allocations: 186.3 kB / 387.3 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.05081, allocations: 11.97 kB / 387.3 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.297e-06/0.05082, allocations: 7 kB / 387.3 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.05082, allocations: 0 / 387.3 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.05083, allocations: 0 / 387.3 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.05083, allocations: 0 / 387.3 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.05094, allocations: 116.5 kB / 387.4 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.05094, allocations: 4 kB / 387.4 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.05094, allocations: 0 / 387.4 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.05094, allocations: 3.984 kB / 387.4 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.05095, allocations: 3.984 kB / 387.4 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.05095, allocations: 0 / 387.4 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.05096, allocations: 4 kB / 387.4 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.05112, allocations: 139.8 kB / 387.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-06/0.05113, allocations: 0 / 387.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.05114, allocations: 0 / 387.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-06/0.05115, allocations: 0 / 387.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.05116, allocations: 0 / 387.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.05116, allocations: 4 kB / 387.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.278e-05/0.05123, allocations: 123.1 kB / 387.7 MB, free: 9.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05123, allocations: 0 / 387.7 MB, free: 9.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002859/0.05151, allocations: 71.86 kB / 387.7 MB, free: 9.262 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.001419/0.05293, allocations: 446.3 kB / 388.2 MB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.0531, allocations: 122.5 kB / 388.3 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.0531, allocations: 0 / 388.3 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.05318, allocations: 92.8 kB / 388.4 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.0533, allocations: 12.11 kB / 388.4 MB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.05353, allocations: 117.7 kB / 388.5 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.38e-05/0.05358, allocations: 55.36 kB / 388.6 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.699e-06/0.05359, allocations: 0 / 388.6 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.05361, allocations: 12.5 kB / 388.6 MB, free: 8.375 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.05361, allocations: 0 / 388.6 MB, free: 8.375 MB / 362.7 MB Notification: Performance of Templates: time 0.006124/0.05973, allocations: 2.259 MB / 390.8 MB, free: 6.117 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/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: 5.063345178030431]