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.00171/0.00171, allocations: 111 kB / 21.19 MB, free: 0.4961 MB / 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.002285/0.002285, allocations: 214.7 kB / 24.48 MB, free: 3.809 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.484/1.484, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.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.2311/0.2311, allocations: 46.97 MB / 361.6 MB, free: 4.055 MB / 286.1 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 0.003226/0.003226, allocations: 71.89 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.389, allocations: 66.03 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.002079/0.3911, allocations: 489 kB / 0.5623 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.3947, allocations: 1.269 MB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.3948, allocations: 0 / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.3948, allocations: 0 / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.3948, allocations: 0 / 0.5635 GB, free: 2.449 MB / 398.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.002214/0.397, allocations: 0.5726 MB / 0.5641 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.584e-05/0.397, allocations: 0 / 0.5641 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.3971, allocations: 11.98 kB / 0.5641 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.3971, allocations: 8 kB / 0.5641 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.721e-05/0.3971, allocations: 0 / 0.5641 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.3972, allocations: 11.86 kB / 0.5641 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0247/0.4219, allocations: 2.543 MB / 0.5666 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.4219, allocations: 0 / 0.5666 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.4219, allocations: 0 / 0.5666 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.4223, allocations: 167.6 kB / 0.5667 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.4223, allocations: 3.984 kB / 0.5667 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4223, allocations: 4 kB / 0.5667 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.4223, allocations: 0 / 0.5667 GB, free: 15.66 MB / 414.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.0003683/0.4227, allocations: 303.9 kB / 0.567 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.4227, allocations: 8.031 kB / 0.567 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.4228, allocations: 0.9375 kB / 0.567 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.773e-05/0.4228, allocations: 106.5 kB / 0.5671 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.4229, allocations: 384 / 0.5671 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.4229, allocations: 384 / 0.5671 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.423, allocations: 63.52 kB / 0.5672 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.423, allocations: 0 / 0.5672 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.423, allocations: 0 / 0.5672 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.423, allocations: 7.984 kB / 0.5672 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.423, allocations: 33.64 kB / 0.5672 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.4232, allocations: 97.33 kB / 0.5673 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.376e-05/0.4232, allocations: 44.31 kB / 0.5674 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.4233, allocations: 34.5 kB / 0.5674 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.4233, allocations: 0 / 0.5674 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.4234, allocations: 64.31 kB / 0.5675 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.4234, allocations: 0 / 0.5675 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002032/0.4236, allocations: 122.7 kB / 0.5676 GB, free: 14.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.4236, allocations: 85.22 kB / 0.5677 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.832e-05/0.4237, allocations: 89.86 kB / 0.5677 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.4237, allocations: 29.64 kB / 0.5678 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.4237, allocations: 80.14 kB / 0.5679 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.4237, allocations: 0 / 0.5679 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.4238, allocations: 13.72 kB / 0.5679 GB, free: 14.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4239, allocations: 314.8 kB / 0.5682 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.4239, allocations: 29.7 kB / 0.5682 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.952e-05/0.4239, allocations: 25.7 kB / 0.5682 GB, free: 13.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.037e-05/0.424, allocations: 64.25 kB / 0.5683 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.424, allocations: 4.062 kB / 0.5683 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.439e-05/0.4241, allocations: 97.05 kB / 0.5684 GB, free: 13.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.4241, allocations: 29.7 kB / 0.5684 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4241, allocations: 3.938 kB / 0.5684 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4242, allocations: 0 / 0.5684 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-06/0.4242, allocations: 4 kB / 0.5684 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.4242, allocations: 0 / 0.5684 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.4242, allocations: 7.938 kB / 0.5684 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.4242, allocations: 0 / 0.5684 GB, free: 13.66 MB / 414.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.0001112/0.4243, allocations: 143.5 kB / 0.5686 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.4243, allocations: 4.031 kB / 0.5686 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.251e-05/0.4243, allocations: 6.938 kB / 0.5686 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.4243, allocations: 0 / 0.5686 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4243, allocations: 0 / 0.5686 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.4243, allocations: 0 / 0.5686 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.718e-05/0.4244, allocations: 101.3 kB / 0.5687 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4244, allocations: 0 / 0.5687 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.4244, allocations: 0 / 0.5687 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4244, allocations: 0 / 0.5687 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.4244, allocations: 0 / 0.5687 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4244, allocations: 3.938 kB / 0.5687 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4244, allocations: 11.94 kB / 0.5687 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.4245, allocations: 124.5 kB / 0.5688 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-06/0.4246, allocations: 0 / 0.5688 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.4246, allocations: 0 / 0.5688 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.168e-05/0.4246, allocations: 3.938 kB / 0.5688 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.4246, allocations: 4 kB / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.4246, allocations: 0 / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.552e-05/0.4246, allocations: 75.28 kB / 0.5689 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4246, allocations: 0 / 0.5689 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.4249, allocations: 67.86 kB / 0.5689 GB, free: 13.04 MB / 414.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.001114/0.426, allocations: 423.3 kB / 0.5693 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.4262, allocations: 110.8 kB / 0.5694 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4262, allocations: 0 / 0.5694 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.496e-05/0.4262, allocations: 88.98 kB / 0.5695 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.4264, allocations: 8.125 kB / 0.5695 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/0.4266, allocations: 114.7 kB / 0.5697 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.4266, allocations: 51.36 kB / 0.5697 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.4e-06/0.4266, allocations: 0 / 0.5697 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.4267, allocations: 11.44 kB / 0.5697 GB, free: 12.24 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4267, allocations: 0 / 0.5697 GB, free: 12.24 MB / 414.1 MB Notification: Performance of Templates: time 0.005781/0.4324, allocations: 2.14 MB / 0.5718 GB, free: 10.11 MB / 414.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 gbode -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.116675289013074]