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.00183/0.00183, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.002206/0.002206, allocations: 159.7 kB / 24.49 MB, free: 3.453 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.537/1.537, allocations: 177.1 MB / 204.7 MB, free: 9.016 MB / 190.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.001916/0.001916, allocations: 65.36 kB / 325.5 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09661/0.09852, allocations: 53.39 MB / 378.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002299/0.1008, allocations: 1.199 MB / 380.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003447/0.1043, allocations: 2.098 MB / 382.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.1043, allocations: 0 / 382.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.1043, allocations: 0 / 382.2 MB, free: 12.21 MB / 350.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.001258/0.1056, allocations: 478.2 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.966e-05/0.1056, allocations: 11.92 kB / 382.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.735e-05/0.1057, allocations: 11.92 kB / 382.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.1057, allocations: 4 kB / 382.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.993e-05/0.1057, allocations: 0 / 382.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.1058, allocations: 10.75 kB / 382.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1058, allocations: 0 / 382.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008546/0.1067, allocations: 491.5 kB / 383.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.1067, allocations: 7.938 kB / 383.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.1067, allocations: 7.984 kB / 383.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005813/0.1073, allocations: 379.1 kB / 383.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1073, allocations: 0 / 383.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1073, allocations: 0 / 383.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1073, allocations: 0 / 383.6 MB, free: 10.85 MB / 350.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.0004976/0.1078, allocations: 349.4 kB / 383.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1078, allocations: 11.98 kB / 383.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.1079, allocations: 80.17 kB / 384 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1081, allocations: 189.8 kB / 384.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.798e-05/0.1082, allocations: 150.9 kB / 384.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.409e-05/0.1083, allocations: 158.9 kB / 384.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.43e-05/0.1083, allocations: 109.3 kB / 384.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.752e-05/0.1084, allocations: 75.28 kB / 384.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/0.1085, allocations: 150.6 kB / 384.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.958e-05/0.1085, allocations: 154.6 kB / 384.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.317e-05/0.1086, allocations: 150.6 kB / 385.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.1089, allocations: 401.6 kB / 385.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1091, allocations: 169.1 kB / 385.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.1091, allocations: 84.14 kB / 385.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.117e-05/0.1092, allocations: 83.22 kB / 385.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.1093, allocations: 43.42 kB / 385.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.294e-06/0.1093, allocations: 0 / 385.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000143/0.1095, allocations: 41.56 kB / 385.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1095, allocations: 51.41 kB / 385.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1097, allocations: 109.8 kB / 386.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1097, allocations: 25.7 kB / 386.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.1097, allocations: 84.14 kB / 386.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.1097, allocations: 3.953 kB / 386.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.1098, allocations: 13.72 kB / 386.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.11, allocations: 310.8 kB / 386.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.11, allocations: 4.125 kB / 386.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-06/0.11, allocations: 4 kB / 386.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.394e-05/0.11, allocations: 8.859 kB / 386.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.11, allocations: 7.938 kB / 386.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.837e-05/0.1101, allocations: 37.62 kB / 386.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1101, allocations: 7.938 kB / 386.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1101, allocations: 0 / 386.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1101, allocations: 0 / 386.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.479e-05/0.1101, allocations: 4 kB / 386.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1101, allocations: 4.094 kB / 386.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.1101, allocations: 0 / 386.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1101, allocations: 4 kB / 386.6 MB, free: 7.645 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.533e-05/0.1102, allocations: 105.8 kB / 386.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.1102, allocations: 7.938 kB / 386.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.1103, allocations: 7.141 kB / 386.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1103, allocations: 0 / 386.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1103, allocations: 0 / 386.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.1103, allocations: 0 / 386.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.1104, allocations: 101.3 kB / 386.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1104, allocations: 0 / 386.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-06/0.1104, allocations: 7.984 kB / 386.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1104, allocations: 0 / 386.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1104, allocations: 7.938 kB / 386.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1104, allocations: 3.938 kB / 386.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1104, allocations: 0 / 386.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.829e-05/0.1105, allocations: 61.08 kB / 386.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-06/0.1105, allocations: 0 / 386.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1105, allocations: 7.922 kB / 386.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.216e-05/0.1105, allocations: 0 / 386.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.1106, allocations: 0 / 386.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.1106, allocations: 8.031 kB / 386.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.147e-05/0.1106, allocations: 79.28 kB / 387 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1106, allocations: 0 / 387 MB, free: 7.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00044/0.111, allocations: 151.5 kB / 387.1 MB, free: 7.047 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.001091/0.1121, allocations: 498.6 kB / 387.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.546e-05/0.1122, allocations: 3.938 kB / 387.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1122, allocations: 0 / 387.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.278e-06/0.1122, allocations: 15.92 kB / 387.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.1123, allocations: 3.984 kB / 387.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.1126, allocations: 102.9 kB / 387.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.462e-05/0.1126, allocations: 59.34 kB / 387.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.583e-05/0.1127, allocations: 16.05 kB / 387.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.1127, allocations: 16.5 kB / 387.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1127, allocations: 3.938 kB / 387.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of Templates: time 0.007195/0.1199, allocations: 3.14 MB / 390.9 MB, free: 3.207 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 -s ida -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: 4.474743906990625]