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.001432/0.001432, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001726/0.001726, allocations: 160.9 kB / 24.27 MB, free: 172 kB / 18.57 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.471/1.471, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 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 1.593e-06/1.593e-06, allocations: 0 / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.041e-05, allocations: 2.312 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002396/0.002427, allocations: 1.215 MB / 273.4 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003693/0.00612, allocations: 2.107 MB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.006142, allocations: 0 / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.006171, allocations: 0 / 275.5 MB, free: 14.48 MB / 266.7 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.001366/0.007537, allocations: 474.2 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.519e-05/0.007563, allocations: 4 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.915e-05/0.007612, allocations: 15.92 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.508e-05/0.007647, allocations: 3.984 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.007681, allocations: 7.938 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.007751, allocations: 4 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.007762, allocations: 0 / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008165/0.008579, allocations: 495.2 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.00859, allocations: 0 / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.008619, allocations: 7.984 kB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000679/0.009298, allocations: 462.8 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.009301, allocations: 4 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009302, allocations: 0 / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.009306, allocations: 3.938 kB / 276.9 MB, free: 13.03 MB / 266.7 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.0005099/0.009816, allocations: 349.4 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.009853, allocations: 11.98 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/0.009932, allocations: 80.17 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.01012, allocations: 185.1 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.177e-05/0.0102, allocations: 150.9 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.187e-05/0.01028, allocations: 158.9 kB / 277.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.35e-05/0.01036, allocations: 101.5 kB / 277.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/0.01041, allocations: 83.41 kB / 278 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/0.0105, allocations: 150.9 kB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.879e-05/0.01059, allocations: 158.5 kB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.366e-05/0.01067, allocations: 150.6 kB / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.01101, allocations: 401.6 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.01114, allocations: 165.1 kB / 279 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.01119, allocations: 84.08 kB / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.01124, allocations: 79.28 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.0114, allocations: 43.41 kB / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 2.094e-06/0.0114, allocations: 0 / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001564/0.01156, allocations: 41.64 kB / 279.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.01161, allocations: 55.34 kB / 279.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.01172, allocations: 105.8 kB / 279.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.01174, allocations: 25.7 kB / 279.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.01179, allocations: 80.14 kB / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.01181, allocations: 4 kB / 279.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.01184, allocations: 9.719 kB / 279.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.01202, allocations: 314.8 kB / 279.9 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.01203, allocations: 7.984 kB / 279.9 MB, free: 9.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.01204, allocations: 0 / 279.9 MB, free: 9.922 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.469e-05/0.01206, allocations: 13.05 kB / 279.9 MB, free: 9.906 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01207, allocations: 4 kB / 279.9 MB, free: 9.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.151e-05/0.01213, allocations: 37.78 kB / 279.9 MB, free: 9.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.01215, allocations: 7.938 kB / 279.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.01215, allocations: 0 / 279.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.01217, allocations: 4 kB / 279.9 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.506e-05/0.01219, allocations: 7.922 kB / 279.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.0122, allocations: 0 / 279.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.539e-05/0.01221, allocations: 0 / 279.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.01222, allocations: 0 / 279.9 MB, free: 9.84 MB / 266.7 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.431e-05/0.01231, allocations: 121.9 kB / 280.1 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.01232, allocations: 0 / 280.1 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.896e-05/0.01234, allocations: 3.156 kB / 280.1 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01234, allocations: 0 / 280.1 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.01235, allocations: 7.938 kB / 280.1 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.01235, allocations: 0 / 280.1 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.01247, allocations: 101.3 kB / 280.2 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.01247, allocations: 0 / 280.2 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-06/0.01247, allocations: 4 kB / 280.2 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.01248, allocations: 0 / 280.2 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.01248, allocations: 4 kB / 280.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.01248, allocations: 0 / 280.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01248, allocations: 0 / 280.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.861e-05/0.01257, allocations: 69 kB / 280.2 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-06/0.01258, allocations: 0 / 280.2 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.01259, allocations: 0 / 280.2 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/0.0126, allocations: 4 kB / 280.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.01262, allocations: 3.938 kB / 280.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.01262, allocations: 0 / 280.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.186e-05/0.01268, allocations: 87.27 kB / 280.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01268, allocations: 0 / 280.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004679/0.01315, allocations: 151.5 kB / 280.5 MB, free: 9.238 MB / 266.7 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.001313/0.01446, allocations: 0.5306 MB / 281 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.21e-05/0.01452, allocations: 4 kB / 281 MB, free: 8.758 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01452, allocations: 4.062 kB / 281 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.276e-05/0.01455, allocations: 11.92 kB / 281 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.01469, allocations: 0 / 281 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.01497, allocations: 108.8 kB / 281.1 MB, free: 8.609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.836e-05/0.01503, allocations: 59.34 kB / 281.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.769e-05/0.01507, allocations: 11.98 kB / 281.2 MB, free: 8.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.0151, allocations: 12.5 kB / 281.2 MB, free: 8.508 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0151, allocations: 4.062 kB / 281.2 MB, free: 8.504 MB / 266.7 MB Notification: Performance of Templates: time 0.007607/0.02271, allocations: 3.226 MB / 284.4 MB, free: 5.273 MB / 266.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins/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.527962344000116]