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.002203/0.002203, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 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.002652/0.002652, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 18.57 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.499/1.499, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 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.3812/0.3812, allocations: 34.26 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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 1.373e-06/1.373e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.753e-05, allocations: 6.312 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.00174/0.001768, allocations: 497.5 kB / 377.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.003226, allocations: 0.8807 MB / 378.5 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.003249, allocations: 0 / 378.5 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.108e-05/0.00326, allocations: 0 / 378.5 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.003456, allocations: 15.94 kB / 378.6 MB, free: 1.543 MB / 346.7 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.0007075/0.004164, allocations: 73.06 kB / 378.6 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.945e-05/0.004213, allocations: 4 kB / 378.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.627e-05/0.00424, allocations: 0 / 378.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/0.004276, allocations: 7.984 kB / 378.6 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.386e-05/0.00433, allocations: 0 / 378.6 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.004338, allocations: 0 / 378.6 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.004483, allocations: 51.95 kB / 378.7 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-06/0.00449, allocations: 0 / 378.7 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.004519, allocations: 7.922 kB / 378.7 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.004704, allocations: 63.8 kB / 378.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004707, allocations: 4 kB / 378.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004708, allocations: 0 / 378.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.004711, allocations: 0 / 378.8 MB, free: 1.34 MB / 346.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.0003906/0.005102, allocations: 276 kB / 379 MB, free: 1.031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.005137, allocations: 12.03 kB / 379.1 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.00518, allocations: 4.938 kB / 379.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.005293, allocations: 105.8 kB / 379.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.005305, allocations: 384 / 379.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-06/0.005314, allocations: 4.375 kB / 379.2 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.005423, allocations: 55.95 kB / 379.2 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.00543, allocations: 4.188 kB / 379.2 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.005438, allocations: 4.375 kB / 379.2 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.005442, allocations: 384 / 379.2 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.522e-05/0.005477, allocations: 33.58 kB / 379.3 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.005612, allocations: 97.33 kB / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.925e-05/0.005692, allocations: 44.28 kB / 379.4 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.005725, allocations: 34.66 kB / 379.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.005734, allocations: 0 / 379.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.005793, allocations: 60.25 kB / 379.5 MB, free: 480 kB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.005793, allocations: 0 / 379.5 MB, free: 480 kB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002374/0.006031, allocations: 130.7 kB / 379.6 MB, free: 324 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.006105, allocations: 81.09 kB / 379.7 MB, free: 224 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.517e-05/0.0062, allocations: 93.8 kB / 379.8 MB, free: 120 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.006247, allocations: 25.7 kB / 379.8 MB, free: 88 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.006293, allocations: 84.14 kB / 379.9 MB, free: 0 / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.006329, allocations: 4.141 kB / 379.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.006367, allocations: 13.72 kB / 379.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.006548, allocations: 314.8 kB / 380.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/0.006577, allocations: 25.7 kB / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.536e-05/0.006602, allocations: 29.95 kB / 380.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.441e-05/0.006667, allocations: 64.25 kB / 380.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.006669, allocations: 0 / 380.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001097/0.006778, allocations: 97.05 kB / 380.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.006815, allocations: 29.7 kB / 380.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.006822, allocations: 3.984 kB / 380.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.006841, allocations: 0 / 380.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.006841, allocations: 0 / 380.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006846, allocations: 0 / 380.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.006864, allocations: 7.75 kB / 380.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.00687, allocations: 4.094 kB / 380.5 MB, free: 15.35 MB / 362.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 0.0001118/0.006982, allocations: 131.5 kB / 380.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.006995, allocations: 4 kB / 380.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346e-06/0.007004, allocations: 3 kB / 380.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.007008, allocations: 3.984 kB / 380.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.007011, allocations: 0 / 380.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.007016, allocations: 3.938 kB / 380.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.007175, allocations: 105.3 kB / 380.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.007176, allocations: 0 / 380.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.007176, allocations: 0 / 380.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007178, allocations: 4 kB / 380.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.007184, allocations: 0 / 380.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.007187, allocations: 4 kB / 380.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.007191, allocations: 3.938 kB / 380.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.007336, allocations: 120.5 kB / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.007343, allocations: 4 kB / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.007357, allocations: 4 kB / 380.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-06/0.007367, allocations: 3.938 kB / 380.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.007382, allocations: 0 / 380.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.007385, allocations: 0 / 380.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.383e-05/0.007439, allocations: 91.23 kB / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007439, allocations: 0 / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.007662, allocations: 15.94 kB / 381 MB, free: 14.79 MB / 362.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.0005288/0.008191, allocations: 192.9 kB / 381.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.008332, allocations: 118.7 kB / 381.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.008334, allocations: 0 / 381.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.537e-05/0.008399, allocations: 81.11 kB / 381.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.008538, allocations: 2.812 kB / 381.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.008793, allocations: 125.4 kB / 381.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.232e-05/0.008856, allocations: 51.48 kB / 381.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.799e-06/0.008865, allocations: 8 kB / 381.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.008882, allocations: 8.5 kB / 381.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008883, allocations: 0 / 381.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of Templates: time 0.003731/0.01261, allocations: 0.6821 MB / 382.2 MB, free: 13.46 MB / 362.7 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: 4.756681974977255]