Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001768/0.001768, allocations: 116.8 kB / 19.17 MB, free: 3.895 MB / 14.72 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.002227/0.002227, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 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.471/1.471, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2294/0.2294, allocations: 46.89 MB / 358.1 MB, free: 10.51 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-beta.om/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_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003007/0.003007, allocations: 79.88 kB / 0.4923 GB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1431, allocations: 65.98 MB / 0.5568 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.002007/0.1451, allocations: 494.6 kB / 0.5572 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.1478, allocations: 1.314 MB / 0.5585 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.616e-05/0.1478, allocations: 0 / 0.5585 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.1478, allocations: 0 / 0.5585 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.1478, allocations: 0 / 0.5585 GB, free: 4.145 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.001784/0.1496, allocations: 0.5881 MB / 0.5591 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.315e-05/0.1497, allocations: 0 / 0.5591 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.346e-05/0.1497, allocations: 0 / 0.5591 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.999e-05/0.1497, allocations: 0 / 0.5591 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.015e-05/0.1497, allocations: 7.938 kB / 0.5591 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-06/0.1497, allocations: 0 / 0.5591 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0174/0.1671, allocations: 2.533 MB / 0.5616 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.1672, allocations: 4 kB / 0.5616 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.1672, allocations: 0 / 0.5616 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.1676, allocations: 167.6 kB / 0.5617 GB, free: 1.367 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1676, allocations: 0 / 0.5617 GB, free: 1.367 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1676, allocations: 0 / 0.5617 GB, free: 1.367 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1676, allocations: 0 / 0.5617 GB, free: 1.367 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.0004706/0.1681, allocations: 373 kB / 0.5621 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1681, allocations: 16.02 kB / 0.5621 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.1681, allocations: 4.938 kB / 0.5621 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1683, allocations: 164.4 kB / 0.5623 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.1683, allocations: 384 / 0.5623 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.1683, allocations: 384 / 0.5623 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.1684, allocations: 30.27 kB / 0.5623 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1684, allocations: 4.125 kB / 0.5623 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1684, allocations: 3.938 kB / 0.5623 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1684, allocations: 3.938 kB / 0.5623 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.826e-05/0.1684, allocations: 0 / 0.5623 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.1686, allocations: 149.7 kB / 0.5625 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.303e-05/0.1686, allocations: 22.58 kB / 0.5625 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.1687, allocations: 8.953 kB / 0.5625 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.1687, allocations: 0 / 0.5625 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.1687, allocations: 56.27 kB / 0.5625 GB, free: 380 kB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1687, allocations: 0 / 0.5625 GB, free: 380 kB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002071/0.1689, allocations: 71.27 kB / 0.5626 GB, free: 296 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.169, allocations: 81.23 kB / 0.5627 GB, free: 196 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.903e-05/0.169, allocations: 93.86 kB / 0.5628 GB, free: 92 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.169, allocations: 25.7 kB / 0.5628 GB, free: 60 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.1691, allocations: 80.14 kB / 0.5629 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.1691, allocations: 4 kB / 0.5629 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.1691, allocations: 13.66 kB / 0.5629 GB, free: 15.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1693, allocations: 310.8 kB / 0.5632 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.1693, allocations: 7.984 kB / 0.5632 GB, free: 15.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.1693, allocations: 4 kB / 0.5632 GB, free: 15.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.673e-05/0.1694, allocations: 68.2 kB / 0.5633 GB, free: 15.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1694, allocations: 0 / 0.5633 GB, free: 15.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.191e-05/0.1694, allocations: 55.41 kB / 0.5633 GB, free: 15.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.1695, allocations: 37.69 kB / 0.5634 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1695, allocations: 0 / 0.5634 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1695, allocations: 3.938 kB / 0.5634 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1695, allocations: 0 / 0.5634 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.1695, allocations: 0 / 0.5634 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.1695, allocations: 8.047 kB / 0.5634 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.1695, allocations: 4 kB / 0.5634 GB, free: 15.42 MB / 430.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 9.491e-05/0.1696, allocations: 135.5 kB / 0.5635 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.1696, allocations: 0 / 0.5635 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.079e-05/0.1696, allocations: 11.06 kB / 0.5635 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.1696, allocations: 0 / 0.5635 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.1696, allocations: 0 / 0.5635 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1696, allocations: 0 / 0.5635 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.1698, allocations: 153.7 kB / 0.5637 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.1698, allocations: 0 / 0.5637 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.1698, allocations: 7.938 kB / 0.5637 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.1698, allocations: 7.984 kB / 0.5637 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.1698, allocations: 7.875 kB / 0.5637 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1698, allocations: 0 / 0.5637 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.1698, allocations: 0 / 0.5637 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.1699, allocations: 90.83 kB / 0.5638 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.1699, allocations: 81.05 kB / 0.5638 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1699, allocations: 7.969 kB / 0.5639 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-06/0.1699, allocations: 0 / 0.5639 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.17, allocations: 7.984 kB / 0.5639 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.17, allocations: 0 / 0.5639 GB, free: 14.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.267e-05/0.17, allocations: 75.28 kB / 0.5639 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.17, allocations: 0 / 0.5639 GB, free: 14.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000303/0.1703, allocations: 63.88 kB / 0.564 GB, free: 14.68 MB / 430.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.00105/0.1714, allocations: 408.1 kB / 0.5644 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.1715, allocations: 59.34 kB / 0.5644 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1715, allocations: 0 / 0.5644 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.733e-05/0.1715, allocations: 55.41 kB / 0.5645 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.1716, allocations: 4 kB / 0.5645 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.1719, allocations: 110.9 kB / 0.5646 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1722, allocations: 0.6729 MB / 0.5653 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.444e-05/0.1722, allocations: 7.438 kB / 0.5653 GB, free: 13.34 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1722, allocations: 0 / 0.5653 GB, free: 13.34 MB / 430.1 MB Notification: Performance of Templates: time 0.004346/0.1766, allocations: 2.017 MB / 0.5672 GB, free: 11.32 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.745105989044532]