Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.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.001613/0.001613, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002415/0.002415, allocations: 210.8 kB / 24.48 MB, free: 3.934 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.476/1.476, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 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.2462/0.2462, allocations: 46.95 MB / 361.6 MB, free: 3.891 MB / 286.1 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.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 79.88 kB / 0.4973 GB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3326, allocations: 66.09 MB / 0.5619 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001716/0.3343, allocations: 489 kB / 0.5624 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3357, allocations: 0.8669 MB / 0.5632 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.3358, allocations: 0 / 0.5632 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/0.3358, allocations: 3.938 kB / 0.5632 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.336, allocations: 4 kB / 0.5632 GB, free: 2.586 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:333:3-373:15:writable] Warning: Pure function 'ModelicaTest.Utilities.ReadFile' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0006754/0.3366, allocations: 64.38 kB / 0.5633 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.336e-05/0.3367, allocations: 0 / 0.5633 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.013e-05/0.3367, allocations: 0 / 0.5633 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.806e-05/0.3367, allocations: 8 kB / 0.5633 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.3368, allocations: 3.984 kB / 0.5633 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.3368, allocations: 0 / 0.5633 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.3369, allocations: 63.88 kB / 0.5633 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.375e-06/0.337, allocations: 0 / 0.5633 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.337, allocations: 4 kB / 0.5633 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.3371, allocations: 47.67 kB / 0.5634 GB, free: 2.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.3371, allocations: 4 kB / 0.5634 GB, free: 2.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3371, allocations: 0 / 0.5634 GB, free: 2.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.3372, allocations: 0 / 0.5634 GB, free: 2.402 MB / 398.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.0003944/0.3375, allocations: 286.5 kB / 0.5637 GB, free: 2.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3376, allocations: 8.031 kB / 0.5637 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.3376, allocations: 0.9375 kB / 0.5637 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3377, allocations: 106.5 kB / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3377, allocations: 384 / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-06/0.3377, allocations: 384 / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3378, allocations: 63.89 kB / 0.5638 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3378, allocations: 4.188 kB / 0.5638 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.3379, allocations: 3.938 kB / 0.5638 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3379, allocations: 3.984 kB / 0.5639 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.3379, allocations: 37.64 kB / 0.5639 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.338, allocations: 97.33 kB / 0.564 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.373e-05/0.3381, allocations: 44.31 kB / 0.564 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.3381, allocations: 34.55 kB / 0.5641 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.3381, allocations: 0 / 0.5641 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.3382, allocations: 60.33 kB / 0.5641 GB, free: 1.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3382, allocations: 0 / 0.5641 GB, free: 1.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002105/0.3384, allocations: 122.7 kB / 0.5642 GB, free: 1.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.3385, allocations: 85.03 kB / 0.5643 GB, free: 1.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/0.3386, allocations: 94.08 kB / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3386, allocations: 29.73 kB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.3386, allocations: 84.14 kB / 0.5645 GB, free: 1.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3386, allocations: 3.984 kB / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.3387, allocations: 13.72 kB / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3388, allocations: 310.8 kB / 0.5648 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.3388, allocations: 25.7 kB / 0.5648 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.3389, allocations: 33.69 kB / 0.5649 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.44e-05/0.3389, allocations: 64.27 kB / 0.5649 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3389, allocations: 0 / 0.5649 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.434e-05/0.339, allocations: 93.11 kB / 0.565 GB, free: 472 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.3391, allocations: 33.69 kB / 0.5651 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3391, allocations: 0 / 0.5651 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3391, allocations: 3.938 kB / 0.5651 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.3391, allocations: 4 kB / 0.5651 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3391, allocations: 0 / 0.5651 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.3391, allocations: 0 / 0.5651 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.3391, allocations: 0 / 0.5651 GB, free: 424 kB / 398.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.794e-05/0.3392, allocations: 139.5 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-06/0.3392, allocations: 0 / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.016e-05/0.3392, allocations: 7.031 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3392, allocations: 3.938 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3392, allocations: 3.984 kB / 0.5652 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3393, allocations: 0 / 0.5652 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.959e-05/0.3393, allocations: 97.33 kB / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3393, allocations: 0 / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.3393, allocations: 0 / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3393, allocations: 0 / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3394, allocations: 4 kB / 0.5653 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.3394, allocations: 3.938 kB / 0.5653 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3394, allocations: 3.938 kB / 0.5653 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.3395, allocations: 124.5 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.3395, allocations: 3.953 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.3395, allocations: 0 / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.101e-05/0.3395, allocations: 8 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.3395, allocations: 11.86 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.3396, allocations: 0 / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.976e-05/0.3396, allocations: 79.28 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3396, allocations: 0 / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.3398, allocations: 19.94 kB / 0.5656 GB, free: 15.84 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.000483/0.3403, allocations: 184.9 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.3404, allocations: 122.7 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3404, allocations: 0 / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.507e-05/0.3405, allocations: 81.11 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.3406, allocations: 6.188 kB / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.3409, allocations: 140.4 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.793e-05/0.3409, allocations: 55.36 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.3409, allocations: 7.438 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3409, allocations: 0 / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Templates: time 0.002709/0.3437, allocations: 0.8308 MB / 0.5669 GB, free: 14.34 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.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.739632642827928]