Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001711/0.001711, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002155/0.002155, allocations: 217 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.2 MB / 256.8 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] 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(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Utilities.Examples.readRealParameterModel") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 59.91 kB / 376.8 MB, free: 3.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2549, allocations: 53.32 MB / 430.2 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002316/0.2572, allocations: 1.207 MB / 431.4 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003356/0.2606, allocations: 2.133 MB / 433.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.2606, allocations: 4 kB / 433.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.2606, allocations: 0 / 433.5 MB, free: 4.309 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001298/0.2619, allocations: 474.4 kB / 434 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.532e-05/0.2619, allocations: 3.984 kB / 434 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.176e-05/0.262, allocations: 11.94 kB / 434 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.262, allocations: 0 / 434 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.464e-05/0.2621, allocations: 7.984 kB / 434 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.2622, allocations: 7.938 kB / 434 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.746e-06/0.2622, allocations: 0 / 434 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008434/0.2631, allocations: 0.5189 MB / 434.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.2631, allocations: 4 kB / 434.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.2631, allocations: 0 / 434.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.2637, allocations: 384.3 kB / 434.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2637, allocations: 4 kB / 434.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2637, allocations: 0 / 434.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2637, allocations: 0 / 434.9 MB, free: 2.914 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.000516/0.2642, allocations: 430.5 kB / 435.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2642, allocations: 8.031 kB / 435.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.2643, allocations: 76.22 kB / 435.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.2645, allocations: 243.6 kB / 435.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.751e-05/0.2646, allocations: 154.9 kB / 435.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/0.2646, allocations: 154.7 kB / 435.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.955e-05/0.2647, allocations: 113 kB / 436.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/0.2647, allocations: 75.28 kB / 436.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/0.2648, allocations: 150.6 kB / 436.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.718e-05/0.2649, allocations: 150.6 kB / 436.4 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.234e-05/0.2649, allocations: 158.5 kB / 436.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.2653, allocations: 449.9 kB / 437 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.411e-05/0.2654, allocations: 169.1 kB / 437.2 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.2654, allocations: 84.12 kB / 437.3 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.2655, allocations: 83.28 kB / 437.3 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.2656, allocations: 43.36 kB / 437.4 MB, free: 256 kB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/0.2656, allocations: 0 / 437.4 MB, free: 256 kB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001326/0.2657, allocations: 41.69 kB / 437.4 MB, free: 208 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.2658, allocations: 51.41 kB / 437.5 MB, free: 144 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.2659, allocations: 97.86 kB / 437.6 MB, free: 36 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.2659, allocations: 37.77 kB / 437.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.266, allocations: 84.12 kB / 437.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.266, allocations: 3.953 kB / 437.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.266, allocations: 9.719 kB / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2662, allocations: 318.8 kB / 438 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.2662, allocations: 0 / 438 MB, free: 15.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.2662, allocations: 0 / 438 MB, free: 15.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.456e-05/0.2662, allocations: 16.86 kB / 438 MB, free: 15.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2662, allocations: 3.938 kB / 438 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.939e-05/0.2663, allocations: 37.62 kB / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2663, allocations: 4 kB / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2663, allocations: 4 kB / 438.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2663, allocations: 0 / 438.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.106e-05/0.2663, allocations: 0 / 438.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.2663, allocations: 0 / 438.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.2663, allocations: 0 / 438.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.2663, allocations: 0 / 438.1 MB, free: 15.49 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 9.997e-05/0.2664, allocations: 121.8 kB / 438.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.2664, allocations: 0 / 438.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.2665, allocations: 11.06 kB / 438.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2665, allocations: 3.938 kB / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2665, allocations: 0 / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2665, allocations: 4 kB / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.2666, allocations: 145.6 kB / 438.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2666, allocations: 7.984 kB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-06/0.2666, allocations: 0 / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.2666, allocations: 4 kB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2666, allocations: 8 kB / 438.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2666, allocations: 0 / 438.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2666, allocations: 0 / 438.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.114e-05/0.2667, allocations: 53.08 kB / 438.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.2668, allocations: 85.09 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.2668, allocations: 0 / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.207e-05/0.2668, allocations: 0 / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-06/0.2668, allocations: 4.031 kB / 438.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.2668, allocations: 0 / 438.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.682e-05/0.2668, allocations: 87.22 kB / 438.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2668, allocations: 0 / 438.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004874/0.2673, allocations: 159.5 kB / 438.8 MB, free: 14.71 MB / 350.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 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001162/0.2685, allocations: 0.4923 MB / 439.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.355e-05/0.2686, allocations: 3.984 kB / 439.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2686, allocations: 4 kB / 439.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.75e-06/0.2686, allocations: 0 / 439.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.2687, allocations: 3.938 kB / 439.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.269, allocations: 136.5 kB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.2693, allocations: 0.6729 MB / 440.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.2693, allocations: 11.44 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2693, allocations: 0 / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of Templates: time 0.006544/0.2759, allocations: 3.408 MB / 443.5 MB, free: 9.973 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches