Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.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.001704/0.001704, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.002155/0.002155, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.472/1.472, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.002098/0.002098, allocations: 67.83 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.236, allocations: 53.31 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002458/0.2385, allocations: 1.206 MB / 433.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003533/0.242, allocations: 2.188 MB / 435.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.2421, allocations: 0 / 435.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.2421, allocations: 0 / 435.4 MB, free: 3.992 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/Utilities/Examples.mo:279:3-378:24:writable] Warning: Pure function 'Modelica.Utilities.Examples.readRealParameter' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001326/0.2434, allocations: 478.5 kB / 435.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.312e-05/0.2434, allocations: 4 kB / 435.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.127e-05/0.2435, allocations: 11.94 kB / 435.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.258e-05/0.2435, allocations: 4 kB / 435.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.02e-05/0.2435, allocations: 0 / 435.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.2436, allocations: 19.91 kB / 435.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.2437, allocations: 0 / 435.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009789/0.2446, allocations: 0.5111 MB / 436.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.2446, allocations: 0 / 436.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.2447, allocations: 8 kB / 436.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007393/0.2454, allocations: 377 kB / 436.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2454, allocations: 4 kB / 436.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2454, allocations: 4 kB / 436.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.2454, allocations: 4 kB / 436.8 MB, free: 2.586 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005061/0.2459, allocations: 414.5 kB / 437.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.246, allocations: 12.03 kB / 437.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/0.246, allocations: 84.17 kB / 437.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.2462, allocations: 247.6 kB / 437.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.576e-05/0.2463, allocations: 154.9 kB / 437.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.2463, allocations: 158.7 kB / 437.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.38e-05/0.2464, allocations: 101 kB / 438 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.2464, allocations: 75.28 kB / 438 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.2465, allocations: 150.6 kB / 438.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.359e-05/0.2466, allocations: 150.6 kB / 438.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.066e-05/0.2466, allocations: 166.5 kB / 438.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.247, allocations: 441.9 kB / 438.9 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.2471, allocations: 169.1 kB / 439.1 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.2471, allocations: 88.08 kB / 439.2 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.801e-05/0.2472, allocations: 75.28 kB / 439.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.2473, allocations: 55.33 kB / 439.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.054e-06/0.2473, allocations: 0 / 439.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001195/0.2474, allocations: 29.7 kB / 439.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.2475, allocations: 55.41 kB / 439.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.2476, allocations: 105.8 kB / 439.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2476, allocations: 29.64 kB / 439.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.2476, allocations: 88.27 kB / 439.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.2477, allocations: 3.953 kB / 439.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.2477, allocations: 13.72 kB / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2478, allocations: 310.8 kB / 439.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-06/0.2478, allocations: 0 / 439.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/0.2478, allocations: 3.938 kB / 439.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.2479, allocations: 16.84 kB / 440 MB, free: 15.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2479, allocations: 4.062 kB / 440 MB, free: 15.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.887e-05/0.2479, allocations: 33.64 kB / 440 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2479, allocations: 8 kB / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2479, allocations: 0 / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2479, allocations: 0 / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.757e-05/0.248, allocations: 0 / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.248, allocations: 0 / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.248, allocations: 0 / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.248, allocations: 4 kB / 440 MB, free: 15.17 MB / 350.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 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 8e-05/0.2481, allocations: 109.9 kB / 440.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.2481, allocations: 7.922 kB / 440.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.2481, allocations: 19.02 kB / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2481, allocations: 0 / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2481, allocations: 0 / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.2482, allocations: 77.11 kB / 440.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.2482, allocations: 0 / 440.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.361e-05/0.2482, allocations: 192 / 440.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-06/0.2482, allocations: 0 / 440.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.034e-05/0.2483, allocations: 120.9 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001372/0.2484, allocations: 206.8 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.536e-05/0.2485, allocations: 3.984 kB / 440.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.059e-05/0.2485, allocations: 87.28 kB / 440.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Backend: time 6.51e-07/0.2485, allocations: 0 / 440.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.2499, allocations: 0.4888 MB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of SimCode: time 0.0004448/0.2503, allocations: 0.5544 MB / 441.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Templates: time 0.007292/0.2576, allocations: 3.16 MB / 444.8 MB, free: 10.32 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.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.413869808893651]