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.0007326/0.0007326, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004416/0.005149, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001421/0.001421, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001562/0.002984, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9377/0.9377, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09139/1.029, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.254/0.254, allocations: 34.86 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03199/0.286, allocations: 13.23 MB / 292.6 MB, free: 6.469 MB / 282.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 1.964e-06/1.964e-06, allocations: 0 / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.095e-05, allocations: 8.5 kB / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.00153/0.001551, allocations: 0.5303 MB / 294.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.003811, allocations: 1.343 MB / 295.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.387e-05/0.003825, allocations: 4 kB / 295.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.262e-06/0.003831, allocations: 3.938 kB / 295.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.32e-07/0.003832, allocations: 0 / 295.7 MB, free: 3.332 MB / 282.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.001399/0.005231, allocations: 0.5371 MB / 296.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.639e-05/0.005287, allocations: 0 / 296.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.295e-05/0.00532, allocations: 3.938 kB / 296.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.32e-05/0.005353, allocations: 4 kB / 296.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.375e-05/0.005377, allocations: 0 / 296.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.195e-06/0.005385, allocations: 0 / 296.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.013/0.01838, allocations: 5.148 MB / 301.4 MB, free: 15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.01839, allocations: 4 kB / 301.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.509e-05/0.01841, allocations: 3.938 kB / 301.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.01869, allocations: 171.6 kB / 301.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.791e-05/0.01871, allocations: 0 / 301.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01871, allocations: 0 / 301.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.01873, allocations: 4 kB / 301.6 MB, free: 14.82 MB / 298.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.0003388/0.01907, allocations: 310.1 kB / 301.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.0191, allocations: 15.44 kB / 301.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.01913, allocations: 0.9375 kB / 301.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.153e-05/0.01919, allocations: 105.8 kB / 302 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.0192, allocations: 384 / 302 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.0192, allocations: 4.375 kB / 302 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.005e-05/0.01927, allocations: 63.89 kB / 302.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.01928, allocations: 192 / 302.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.01929, allocations: 8.375 kB / 302.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.01929, allocations: 4.375 kB / 302.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.741e-05/0.01931, allocations: 33.62 kB / 302.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.228e-05/0.01937, allocations: 57.05 kB / 302.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.938e-05/0.01941, allocations: 44.22 kB / 302.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.481e-05/0.01942, allocations: 34.66 kB / 302.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-06/0.01943, allocations: 3.938 kB / 302.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.01946, allocations: 64.25 kB / 302.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.01946, allocations: 0 / 302.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001171/0.01958, allocations: 106.8 kB / 302.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.01962, allocations: 85.23 kB / 302.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.914e-05/0.01965, allocations: 97.84 kB / 302.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.894e-06/0.01966, allocations: 25.7 kB / 302.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.657e-05/0.01967, allocations: 80.14 kB / 302.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.01969, allocations: 0 / 302.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.01971, allocations: 13.72 kB / 302.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.01978, allocations: 314.8 kB / 303 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.0198, allocations: 25.7 kB / 303.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.964e-05/0.01983, allocations: 33.64 kB / 303.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.01987, allocations: 64.25 kB / 303.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01987, allocations: 4.062 kB / 303.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.595e-05/0.01991, allocations: 81.11 kB / 303.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.01995, allocations: 33.7 kB / 303.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01995, allocations: 0 / 303.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.01996, allocations: 0 / 303.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-06/0.01997, allocations: 3.984 kB / 303.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.01997, allocations: 0 / 303.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.01998, allocations: 0 / 303.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.01999, allocations: 4 kB / 303.3 MB, free: 12.88 MB / 298.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 5.546e-05/0.02005, allocations: 147.4 kB / 303.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-06/0.02005, allocations: 8.031 kB / 303.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.804e-06/0.02006, allocations: 3 kB / 303.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.02006, allocations: 0 / 303.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.02006, allocations: 0 / 303.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.02006, allocations: 0 / 303.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.868e-05/0.02014, allocations: 69.83 kB / 303.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.02014, allocations: 0 / 303.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.02014, allocations: 0 / 303.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-06/0.02015, allocations: 0 / 303.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.02015, allocations: 0 / 303.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.02015, allocations: 3.938 kB / 303.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.02015, allocations: 8 kB / 303.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.02015, allocations: 0 / 303.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.07e-05/0.02022, allocations: 112.5 kB / 303.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.02022, allocations: 0 / 303.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-06/0.02023, allocations: 8 kB / 303.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-06/0.02024, allocations: 0 / 303.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.02024, allocations: 3.938 kB / 303.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.53e-06/0.02025, allocations: 4.859 kB / 303.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02025, allocations: 0 / 303.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.02042, allocations: 75.8 kB / 303.7 MB, free: 12.38 MB / 298.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.0007897/0.02121, allocations: 0.5184 MB / 304.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.464e-05/0.0213, allocations: 115.7 kB / 304.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.0213, allocations: 4 kB / 304.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.02132, allocations: 93.95 kB / 304.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.705e-05/0.02137, allocations: 7.938 kB / 304.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/0.02159, allocations: 108.8 kB / 304.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.649e-05/0.02162, allocations: 59.34 kB / 304.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.879e-06/0.02162, allocations: 0 / 304.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.02165, allocations: 51.38 kB / 304.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02165, allocations: 0 / 304.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of Templates: time 0.003841/0.0255, allocations: 2.634 MB / 307.3 MB, free: 8.805 MB / 298.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8598433677107096]