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.001036/0.001036, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001217/0.002253, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007121/0.0007121, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.001774, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9652/0.9652, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08814/1.053, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.2707/0.2707, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02453/0.2953, allocations: 13.24 MB / 292.8 MB, free: 6.391 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.974e-06/1.974e-06, allocations: 0 / 294.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.665e-05, allocations: 2.312 kB / 294.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.002023/0.002049, allocations: 0.5345 MB / 294.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.004456, allocations: 1.351 MB / 296 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.531e-05/0.004471, allocations: 0 / 296 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.298e-06/0.004475, allocations: 0 / 296 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.172e-06/0.004476, allocations: 3.938 kB / 296 MB, free: 3.23 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.001585/0.006061, allocations: 0.5395 MB / 296.5 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.266e-05/0.006124, allocations: 8 kB / 296.5 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.006161, allocations: 0 / 296.5 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.038e-05/0.006201, allocations: 7.984 kB / 296.5 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.737e-05/0.006228, allocations: 0 / 296.5 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.314e-06/0.006236, allocations: 0 / 296.5 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.019/0.02523, allocations: 5.156 MB / 301.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.02525, allocations: 4 kB / 301.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.02527, allocations: 3.938 kB / 301.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.02567, allocations: 163.7 kB / 301.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.795e-05/0.02569, allocations: 3.984 kB / 301.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.02569, allocations: 4 kB / 301.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.0257, allocations: 0 / 301.8 MB, free: 14.7 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.000403/0.02611, allocations: 310 kB / 302.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.02615, allocations: 8.922 kB / 302.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.02619, allocations: 0.9375 kB / 302.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.686e-05/0.02627, allocations: 117.7 kB / 302.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.02628, allocations: 4.375 kB / 302.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.02629, allocations: 384 / 302.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.203e-05/0.02637, allocations: 55.97 kB / 302.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.02638, allocations: 192 / 302.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-06/0.02639, allocations: 384 / 302.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.02639, allocations: 384 / 302.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.974e-05/0.02641, allocations: 33.64 kB / 302.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.953e-05/0.02649, allocations: 57.03 kB / 302.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.923e-05/0.02654, allocations: 48.25 kB / 302.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.02656, allocations: 30.56 kB / 302.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-06/0.02656, allocations: 4 kB / 302.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.02661, allocations: 64.33 kB / 302.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.02661, allocations: 0 / 302.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001531/0.02676, allocations: 114.8 kB / 302.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.02683, allocations: 154.2 kB / 302.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.284e-05/0.02687, allocations: 89.86 kB / 302.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.02689, allocations: 29.64 kB / 302.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.02691, allocations: 80.14 kB / 303 MB, free: 13.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.02694, allocations: 4 kB / 303 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.02697, allocations: 9.719 kB / 303 MB, free: 13.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.02708, allocations: 326.9 kB / 303.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.0271, allocations: 25.7 kB / 303.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.02712, allocations: 25.7 kB / 303.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.666e-05/0.02718, allocations: 68.2 kB / 303.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.02718, allocations: 0 / 303.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.085e-05/0.02726, allocations: 89.09 kB / 303.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.0273, allocations: 29.7 kB / 303.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.02731, allocations: 0 / 303.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.02732, allocations: 0 / 303.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-06/0.02732, allocations: 8.031 kB / 303.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.02733, allocations: 4 kB / 303.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.02735, allocations: 0 / 303.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.02736, allocations: 0 / 303.6 MB, free: 12.67 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 8.959e-05/0.02745, allocations: 147.5 kB / 303.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.02746, allocations: 0 / 303.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.026e-05/0.02747, allocations: 3 kB / 303.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.02747, allocations: 3.984 kB / 303.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.02747, allocations: 4 kB / 303.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.02748, allocations: 0 / 303.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.958e-05/0.02753, allocations: 61.84 kB / 303.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.02754, allocations: 4 kB / 303.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-06/0.02754, allocations: 0 / 303.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.02755, allocations: 8 kB / 303.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.02755, allocations: 3.984 kB / 303.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.02755, allocations: 0 / 303.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.02756, allocations: 0 / 303.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02756, allocations: 0 / 303.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.02766, allocations: 124.4 kB / 304 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.02767, allocations: 0 / 304 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-06/0.02768, allocations: 0 / 304 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-06/0.02769, allocations: 4.031 kB / 304 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.0277, allocations: 0 / 304 MB, free: 12.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.737e-06/0.02771, allocations: 8.859 kB / 304 MB, free: 12.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02771, allocations: 0 / 304 MB, free: 12.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000272/0.02798, allocations: 79.73 kB / 304 MB, free: 12.16 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.001197/0.02917, allocations: 0.5058 MB / 304.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.02928, allocations: 119.7 kB / 304.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.02928, allocations: 0 / 304.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.865e-05/0.02932, allocations: 85.97 kB / 304.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.231e-05/0.02938, allocations: 11.92 kB / 304.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001819/0.02957, allocations: 120.8 kB / 304.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.166e-05/0.0296, allocations: 51.36 kB / 304.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.075e-06/0.02961, allocations: 8.188 kB / 304.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.02965, allocations: 55.36 kB / 305 MB, free: 11.22 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02965, allocations: 7.875 kB / 305 MB, free: 11.21 MB / 298.7 MB Notification: Performance of Templates: time 0.005797/0.03545, allocations: 2.81 MB / 307.8 MB, free: 8.398 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8524226993322372]