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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001468/0.001468, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.812 MB / 206.1 MB " [Timeout remaining time 178] 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.002059/0.002059, allocations: 71.83 kB / 379 MB, free: 2.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2594, allocations: 53.41 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002305/0.2617, allocations: 1.192 MB / 433.6 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003905/0.2656, allocations: 2.09 MB / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.2656, allocations: 0 / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.2657, allocations: 3.938 kB / 435.6 MB, free: 3.238 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.001332/0.267, allocations: 477.9 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.376e-05/0.267, allocations: 4 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.972e-05/0.2671, allocations: 11.92 kB / 436.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.2671, allocations: 7.984 kB / 436.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.051e-05/0.2671, allocations: 7.938 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.2672, allocations: 14.28 kB / 436.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.796e-06/0.2672, allocations: 0 / 436.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008043/0.268, allocations: 487.5 kB / 436.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.268, allocations: 0 / 436.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.268, allocations: 11.94 kB / 436.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.2686, allocations: 377.8 kB / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2686, allocations: 0 / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2686, allocations: 0 / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.2687, allocations: 0 / 437 MB, free: 1.879 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.0005647/0.2692, allocations: 349.4 kB / 437.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2693, allocations: 15.98 kB / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.2693, allocations: 80.17 kB / 437.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.2695, allocations: 185.8 kB / 437.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.896e-05/0.2696, allocations: 154.9 kB / 437.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.2696, allocations: 158.9 kB / 437.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.233e-05/0.2697, allocations: 105.3 kB / 438 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.222e-05/0.2698, allocations: 79.22 kB / 438.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.2698, allocations: 154.6 kB / 438.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.788e-05/0.2699, allocations: 150.6 kB / 438.4 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.256e-05/0.27, allocations: 162.5 kB / 438.6 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.2703, allocations: 405.5 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.2704, allocations: 165.1 kB / 439.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.2705, allocations: 80.14 kB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.2705, allocations: 75.28 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.2707, allocations: 47.42 kB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.144e-06/0.2707, allocations: 0 / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.2708, allocations: 41.56 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.2709, allocations: 51.41 kB / 439.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.271, allocations: 110 kB / 439.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.271, allocations: 25.7 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.271, allocations: 80.14 kB / 439.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.271, allocations: 3.953 kB / 439.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.2711, allocations: 13.72 kB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2712, allocations: 314.8 kB / 440 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-06/0.2712, allocations: 0 / 440 MB, free: 14.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.2712, allocations: 4 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.2713, allocations: 12.73 kB / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2713, allocations: 0 / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.919e-05/0.2713, allocations: 41.75 kB / 440 MB, free: 14.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2713, allocations: 7.938 kB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2713, allocations: 0 / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2713, allocations: 0 / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.065e-05/0.2714, allocations: 0 / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.2714, allocations: 4 kB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.2714, allocations: 0 / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.2714, allocations: 0 / 440 MB, free: 14.68 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 8.242e-05/0.2715, allocations: 109.8 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.2715, allocations: 7.938 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.2715, allocations: 15.12 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2715, allocations: 0 / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2715, allocations: 0 / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.2715, allocations: 0 / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.2716, allocations: 105.3 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.2716, allocations: 0 / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-06/0.2716, allocations: 3.938 kB / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.2716, allocations: 3.984 kB / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2717, allocations: 3.938 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2717, allocations: 4 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2717, allocations: 0 / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.53e-05/0.2717, allocations: 53.14 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-06/0.2717, allocations: 4 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.2718, allocations: 7.922 kB / 440.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.668e-05/0.2718, allocations: 8 kB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-06/0.2718, allocations: 0 / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.2718, allocations: 0 / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.139e-05/0.2718, allocations: 83.28 kB / 440.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2718, allocations: 0 / 440.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004469/0.2723, allocations: 147.5 kB / 440.6 MB, free: 14.07 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.001155/0.2734, allocations: 0.4925 MB / 441.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.066e-05/0.2735, allocations: 11.88 kB / 441.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2735, allocations: 0 / 441.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.958e-06/0.2735, allocations: 11.92 kB / 441.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.2737, allocations: 6.875 kB / 441.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.274, allocations: 124.7 kB / 441.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.575e-05/0.274, allocations: 59.34 kB / 441.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.274, allocations: 11.44 kB / 441.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.274, allocations: 0 / 441.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Templates: time 0.006555/0.2806, allocations: 3.403 MB / 444.7 MB, free: 9.957 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 [Calling sys.exit(0), Time elapsed: 7.803142291959375]