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.001541/0.001541, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001679/0.001679, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.461/1.461, allocations: 230.2 MB / 255.2 MB, free: 15.23 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.001858/0.001858, allocations: 63.89 kB / 374.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09888, allocations: 53.32 MB / 427.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002175/0.1011, allocations: 1.208 MB / 429 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.1042, allocations: 2.086 MB / 431.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.055e-05/0.1043, allocations: 0 / 431.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.1043, allocations: 4 kB / 431.1 MB, free: 1.207 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.001183/0.1055, allocations: 474.4 kB / 431.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.081e-05/0.1055, allocations: 0 / 431.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.1055, allocations: 11.94 kB / 431.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.1056, allocations: 7.922 kB / 431.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.385e-05/0.1056, allocations: 11.98 kB / 431.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.1059, allocations: 4 kB / 431.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.517e-06/0.1059, allocations: 0 / 431.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007978/0.1067, allocations: 0.5112 MB / 432.1 MB, free: 200 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.1067, allocations: 4 kB / 432.1 MB, free: 196 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.1068, allocations: 7.875 kB / 432.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2029/0.3096, allocations: 379.2 kB / 432.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3096, allocations: 0.9062 kB / 432.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3096, allocations: 0 / 432.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3096, allocations: 0 / 432.5 MB, free: 8.465 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.0004559/0.3101, allocations: 426 kB / 432.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3101, allocations: 9.562 kB / 432.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.3102, allocations: 82.8 kB / 433 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.3103, allocations: 243.3 kB / 433.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.3103, allocations: 151.8 kB / 433.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.3103, allocations: 150.9 kB / 433.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.217e-05/0.3104, allocations: 107.7 kB / 433.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3104, allocations: 82.81 kB / 433.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.3104, allocations: 153.5 kB / 433.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.3104, allocations: 151.2 kB / 434 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.777e-05/0.3105, allocations: 151.2 kB / 434.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.3106, allocations: 448.7 kB / 434.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.098e-05/0.3107, allocations: 171.3 kB / 434.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.3107, allocations: 83.7 kB / 434.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.3107, allocations: 75.28 kB / 434.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.3108, allocations: 52.81 kB / 435 MB, free: 5.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.154e-06/0.3109, allocations: 0 / 435 MB, free: 5.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001199/0.311, allocations: 39.08 kB / 435 MB, free: 5.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.311, allocations: 53.56 kB / 435.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.351e-05/0.3111, allocations: 105.2 kB / 435.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.98e-06/0.3111, allocations: 25.7 kB / 435.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.914e-05/0.3111, allocations: 82.88 kB / 435.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.3111, allocations: 3.953 kB / 435.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.3111, allocations: 15.38 kB / 435.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.827e-05/0.3112, allocations: 316.8 kB / 435.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.3112, allocations: 1.438 kB / 435.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.3112, allocations: 2.281 kB / 435.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.954e-05/0.3112, allocations: 7.453 kB / 435.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3112, allocations: 0 / 435.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.531e-05/0.3112, allocations: 39.81 kB / 435.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3112, allocations: 9.281 kB / 435.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3113, allocations: 3.844 kB / 435.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3113, allocations: 2.438 kB / 435.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.348e-05/0.3113, allocations: 0.5938 kB / 435.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3113, allocations: 0 / 435.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.658e-05/0.3113, allocations: 0.8125 kB / 435.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3113, allocations: 2.562 kB / 435.7 MB, free: 5.254 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 4.193e-05/0.3114, allocations: 110.2 kB / 435.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.3114, allocations: 4.875 kB / 435.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.3114, allocations: 4.5 kB / 435.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3114, allocations: 2.344 kB / 435.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3114, allocations: 3.875 kB / 435.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.3114, allocations: 0.875 kB / 435.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.056e-05/0.3115, allocations: 155.5 kB / 436 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3115, allocations: 0 / 436 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-06/0.3115, allocations: 0.5625 kB / 436 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3115, allocations: 5.156 kB / 436 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.3115, allocations: 1.812 kB / 436 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3115, allocations: 6.469 kB / 436 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3115, allocations: 0 / 436 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.026e-05/0.3115, allocations: 59.91 kB / 436 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.3116, allocations: 81.05 kB / 436.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.3116, allocations: 2.562 kB / 436.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.3116, allocations: 7.688 kB / 436.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.3116, allocations: 0 / 436.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.3116, allocations: 0.6562 kB / 436.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.525e-05/0.3116, allocations: 86.78 kB / 436.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3116, allocations: 0.5625 kB / 436.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004538/0.3121, allocations: 154.3 kB / 436.3 MB, free: 4.668 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.001105/0.3132, allocations: 0.497 MB / 436.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.639e-05/0.3133, allocations: 9.156 kB / 436.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3133, allocations: 0 / 436.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.632e-06/0.3133, allocations: 3.359 kB / 436.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.3134, allocations: 5.781 kB / 436.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002154/0.3136, allocations: 129.3 kB / 437 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.971e-05/0.3137, allocations: 0.6774 MB / 437.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.3137, allocations: 14.3 kB / 437.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3137, allocations: 0 / 437.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of Templates: time 0.006191/0.3199, allocations: 3.399 MB / 441.1 MB, free: 3.312 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_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_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.948258923832327]