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.001502/0.001502, allocations: 115.3 kB / 21.17 MB, free: 0.7812 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.00164/0.00164, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.381/1.381, allocations: 230.5 MB / 258.1 MB, free: 8.133 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.001976/0.001976, allocations: 63.84 kB / 378.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2518, allocations: 53.32 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002272/0.2541, allocations: 1.204 MB / 433.2 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.2574, allocations: 2.188 MB / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.2574, allocations: 0 / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.44e-05/0.2575, allocations: 7.875 kB / 435.4 MB, free: 3.988 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.001205/0.2587, allocations: 474.5 kB / 435.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.238e-05/0.2587, allocations: 4 kB / 435.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.02e-05/0.2587, allocations: 15.92 kB / 435.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.2588, allocations: 0 / 435.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.604e-05/0.2588, allocations: 4 kB / 435.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.2591, allocations: 11.98 kB / 435.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.2591, allocations: 3.938 kB / 435.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008051/0.2599, allocations: 0.515 MB / 436.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.26, allocations: 0 / 436.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.26, allocations: 7.984 kB / 436.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.2605, allocations: 380.6 kB / 436.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2605, allocations: 0 / 436.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2605, allocations: 4 kB / 436.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.2605, allocations: 0 / 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.0005383/0.2611, allocations: 422.5 kB / 437.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2611, allocations: 12.03 kB / 437.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.2612, allocations: 84.11 kB / 437.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.2614, allocations: 243.7 kB / 437.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.249e-05/0.2614, allocations: 154.9 kB / 437.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-05/0.2615, allocations: 158.7 kB / 437.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.413e-05/0.2616, allocations: 101 kB / 438 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.863e-05/0.2616, allocations: 75.28 kB / 438 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/0.2617, allocations: 150.6 kB / 438.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.457e-05/0.2617, allocations: 150.6 kB / 438.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.215e-05/0.2618, allocations: 158.5 kB / 438.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.2621, allocations: 449.9 kB / 438.9 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.2622, allocations: 169.1 kB / 439.1 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.2623, allocations: 84.08 kB / 439.2 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-05/0.2623, allocations: 75.28 kB / 439.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.2625, allocations: 55.34 kB / 439.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.344e-06/0.2625, allocations: 0 / 439.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.2626, allocations: 33.64 kB / 439.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.2627, allocations: 51.41 kB / 439.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.2627, allocations: 105.8 kB / 439.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.2628, allocations: 25.7 kB / 439.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.2628, allocations: 84.27 kB / 439.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.2628, allocations: 7.891 kB / 439.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.2629, allocations: 17.72 kB / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.263, allocations: 310.8 kB / 439.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.263, allocations: 0 / 439.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-06/0.263, allocations: 7.938 kB / 439.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.263, allocations: 4.859 kB / 439.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.263, allocations: 0 / 439.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.749e-05/0.2631, allocations: 45.88 kB / 440 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2631, allocations: 4 kB / 440 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2631, allocations: 0 / 440 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2631, allocations: 0 / 440 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.133e-05/0.2631, allocations: 3.984 kB / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2631, allocations: 0 / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.2632, allocations: 4 kB / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2632, allocations: 4 kB / 440 MB, free: 15.16 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.746e-05/0.2632, allocations: 113.7 kB / 440.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.2633, allocations: 8.016 kB / 440.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.2633, allocations: 11.08 kB / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2633, allocations: 0 / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2633, allocations: 0 / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2633, allocations: 0 / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.2634, allocations: 157.6 kB / 440.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.2634, allocations: 0 / 440.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-06/0.2634, allocations: 0 / 440.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2634, allocations: 0 / 440.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.2634, allocations: 0 / 440.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2634, allocations: 8 kB / 440.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2634, allocations: 0 / 440.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.505e-05/0.2635, allocations: 61.06 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.2636, allocations: 77.11 kB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.2636, allocations: 4 kB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.149e-05/0.2636, allocations: 0 / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.2636, allocations: 4 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.2636, allocations: 3.938 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.106e-05/0.2637, allocations: 87.3 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2637, allocations: 0 / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.2641, allocations: 151.5 kB / 440.7 MB, free: 14.39 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.001142/0.2652, allocations: 0.5066 MB / 441.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.529e-05/0.2653, allocations: 4 kB / 441.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2653, allocations: 0 / 441.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-06/0.2653, allocations: 4 kB / 441.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.2655, allocations: 3.938 kB / 441.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.2657, allocations: 140.4 kB / 441.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.266, allocations: 0.669 MB / 442 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.266, allocations: 19.42 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.266, allocations: 0 / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Templates: time 0.005888/0.2719, allocations: 3.398 MB / 445.4 MB, free: 9.676 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: 7.408623775932938]