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.001877/0.001877, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002509/0.002509, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.591/1.591, allocations: 230.5 MB / 257.4 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.2454/0.2454, allocations: 46.95 MB / 360.8 MB, free: 3.922 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.002414/0.002414, allocations: 83.88 kB / 0.4966 GB, free: 7.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3204, allocations: 66.09 MB / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001675/0.3221, allocations: 491.3 kB / 0.5616 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.3235, allocations: 0.863 MB / 0.5625 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.492e-05/0.3235, allocations: 0 / 0.5625 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.253e-05/0.3235, allocations: 3.938 kB / 0.5625 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.3237, allocations: 8 kB / 0.5625 GB, free: 2.602 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.0006114/0.3244, allocations: 55.81 kB / 0.5625 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.447e-05/0.3244, allocations: 7.984 kB / 0.5625 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.3244, allocations: 0 / 0.5625 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.662e-05/0.3245, allocations: 0 / 0.5625 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.958e-05/0.3245, allocations: 0 / 0.5625 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.635e-06/0.3245, allocations: 8 kB / 0.5625 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.3247, allocations: 66.41 kB / 0.5626 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-06/0.3247, allocations: 0 / 0.5626 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.711e-05/0.3247, allocations: 0 / 0.5626 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.3248, allocations: 55.66 kB / 0.5627 GB, free: 2.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3248, allocations: 0 / 0.5627 GB, free: 2.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3248, allocations: 0 / 0.5627 GB, free: 2.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.3248, allocations: 0 / 0.5627 GB, free: 2.418 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.0003712/0.3252, allocations: 282.5 kB / 0.5629 GB, free: 2.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3253, allocations: 12.03 kB / 0.5629 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.3253, allocations: 4.875 kB / 0.5629 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.3254, allocations: 106.5 kB / 0.563 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3254, allocations: 384 / 0.563 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.3254, allocations: 4.375 kB / 0.5631 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.3255, allocations: 55.95 kB / 0.5631 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3255, allocations: 4.125 kB / 0.5631 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3255, allocations: 7.938 kB / 0.5631 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.3255, allocations: 0 / 0.5631 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.556e-05/0.3256, allocations: 29.69 kB / 0.5631 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.3257, allocations: 101.3 kB / 0.5632 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.181e-05/0.3258, allocations: 44.28 kB / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.3258, allocations: 34.66 kB / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.3258, allocations: 3.984 kB / 0.5633 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.716e-05/0.3259, allocations: 60.27 kB / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3259, allocations: 0 / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002255/0.3261, allocations: 122.7 kB / 0.5635 GB, free: 1.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.3262, allocations: 85.03 kB / 0.5636 GB, free: 1.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.398e-05/0.3263, allocations: 93.86 kB / 0.5637 GB, free: 1.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3263, allocations: 25.7 kB / 0.5637 GB, free: 1.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.3263, allocations: 80.39 kB / 0.5638 GB, free: 1.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.3263, allocations: 8 kB / 0.5638 GB, free: 1.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.3263, allocations: 9.719 kB / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3265, allocations: 314.8 kB / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.3265, allocations: 25.7 kB / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.076e-05/0.3265, allocations: 25.7 kB / 0.5641 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.158e-05/0.3266, allocations: 72.19 kB / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3266, allocations: 0 / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.872e-05/0.3267, allocations: 89.11 kB / 0.5643 GB, free: 496 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.3267, allocations: 37.69 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3267, allocations: 4.094 kB / 0.5643 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3267, allocations: 3.938 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3267, allocations: 0 / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3268, allocations: 0 / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.3268, allocations: 0 / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3268, allocations: 4 kB / 0.5643 GB, free: 440 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.465e-05/0.3269, allocations: 135.5 kB / 0.5645 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-06/0.3269, allocations: 0 / 0.5645 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.392e-05/0.3269, allocations: 7 kB / 0.5645 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3269, allocations: 3.938 kB / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3269, allocations: 4 kB / 0.5645 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3269, allocations: 0 / 0.5645 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.902e-05/0.327, allocations: 97.31 kB / 0.5646 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.327, allocations: 7.938 kB / 0.5646 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.327, allocations: 0 / 0.5646 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.327, allocations: 0 / 0.5646 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.327, allocations: 3.938 kB / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.327, allocations: 0 / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.327, allocations: 3.938 kB / 0.5646 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.3271, allocations: 116.5 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.3272, allocations: 11.98 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.3272, allocations: 0 / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-06/0.3272, allocations: 0 / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.3272, allocations: 11.88 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3272, allocations: 4 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.567e-05/0.3272, allocations: 79.27 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3272, allocations: 0 / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.3275, allocations: 15.94 kB / 0.5648 GB, free: 15.86 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.000467/0.3279, allocations: 193.6 kB / 0.565 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.3281, allocations: 122.7 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3281, allocations: 4.062 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.314e-05/0.3281, allocations: 81.11 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.3283, allocations: 0 / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002061/0.3285, allocations: 114.7 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.341e-05/0.3285, allocations: 59.3 kB / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.031e-06/0.3285, allocations: 0 / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.3285, allocations: 7.438 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3285, allocations: 0 / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of Templates: time 0.0032/0.3317, allocations: 0.6506 MB / 0.566 GB, free: 14.57 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins/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: 5.212401429191232]