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.001089/0.001089, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003453/0.003453, allocations: 155.8 kB / 24.7 MB, free: 9.414 MB / 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 0.8448/0.8448, allocations: 177 MB / 204.9 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.433e-06/1.433e-06, allocations: 0 / 325.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.578e-05, allocations: 3.266 kB / 325.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001311/0.001327, allocations: 1.205 MB / 326.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.003281, allocations: 2.102 MB / 329 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.003301, allocations: 0 / 329 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.003319, allocations: 0 / 329 MB, free: 12.1 MB / 298.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.0007938/0.004113, allocations: 477.4 kB / 329.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.057e-05/0.004133, allocations: 7.984 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.491e-05/0.004178, allocations: 15.92 kB / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.004212, allocations: 0 / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.984e-05/0.004242, allocations: 7.938 kB / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.388e-05/0.004306, allocations: 4 kB / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.004316, allocations: 0 / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007892/0.005105, allocations: 499.2 kB / 330 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.005117, allocations: 3.984 kB / 330 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.005136, allocations: 8 kB / 330 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.005569, allocations: 463 kB / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005572, allocations: 3.938 kB / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.005573, allocations: 8 kB / 330.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.005578, allocations: 0 / 330.5 MB, free: 10.63 MB / 298.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.0003378/0.005916, allocations: 341.4 kB / 330.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.005954, allocations: 11.98 kB / 330.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.006008, allocations: 84.17 kB / 330.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.006128, allocations: 181.1 kB / 331.1 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.006168, allocations: 154.9 kB / 331.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.006199, allocations: 150.9 kB / 331.4 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.291e-05/0.006252, allocations: 109.5 kB / 331.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.006273, allocations: 75.47 kB / 331.6 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.006312, allocations: 150.9 kB / 331.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.006349, allocations: 166.5 kB / 331.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.875e-05/0.006388, allocations: 150.6 kB / 332 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.006563, allocations: 397.6 kB / 332.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.799e-05/0.006621, allocations: 173.1 kB / 332.6 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.006642, allocations: 80.14 kB / 332.7 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.006661, allocations: 79.28 kB / 332.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.198e-05/0.006753, allocations: 47.39 kB / 332.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 2.034e-06/0.006755, allocations: 0 / 332.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001125/0.006868, allocations: 41.62 kB / 332.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.006898, allocations: 63.41 kB / 332.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.459e-05/0.006952, allocations: 97.86 kB / 333 MB, free: 7.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.00696, allocations: 25.7 kB / 333 MB, free: 7.949 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.627e-05/0.006986, allocations: 84.14 kB / 333.1 MB, free: 7.863 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.104e-05/0.006997, allocations: 4 kB / 333.1 MB, free: 7.859 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.007022, allocations: 13.7 kB / 333.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.00709, allocations: 310.8 kB / 333.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.007097, allocations: 4 kB / 333.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-06/0.007101, allocations: 0 / 333.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.99e-05/0.007121, allocations: 12.92 kB / 333.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.007123, allocations: 7.938 kB / 333.5 MB, free: 7.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.375e-05/0.007157, allocations: 37.59 kB / 333.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.007167, allocations: 4 kB / 333.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007171, allocations: 3.984 kB / 333.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.007181, allocations: 4 kB / 333.5 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.685e-05/0.007198, allocations: 3.938 kB / 333.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.007203, allocations: 0 / 333.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.075e-05/0.007213, allocations: 0 / 333.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.007218, allocations: 0 / 333.5 MB, free: 7.441 MB / 298.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 4.824e-05/0.007266, allocations: 113.9 kB / 333.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-06/0.00727, allocations: 0 / 333.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.007292, allocations: 11.11 kB / 333.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.007294, allocations: 0 / 333.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.007298, allocations: 3.938 kB / 333.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007301, allocations: 7.984 kB / 333.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.997e-05/0.007361, allocations: 93.33 kB / 333.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.007361, allocations: 0 / 333.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-06/0.007363, allocations: 192 / 333.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.007363, allocations: 4 kB / 333.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.007368, allocations: 0 / 333.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.007369, allocations: 4 kB / 333.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.00737, allocations: 3.984 kB / 333.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.118e-05/0.007411, allocations: 69 kB / 333.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-06/0.007415, allocations: 0 / 333.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.303e-06/0.007422, allocations: 0 / 333.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-06/0.007428, allocations: 0 / 333.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.065e-05/0.007438, allocations: 7.938 kB / 333.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.007441, allocations: 4 kB / 333.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.431e-05/0.007465, allocations: 83.27 kB / 333.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007465, allocations: 0 / 333.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000254/0.007719, allocations: 151.5 kB / 334.1 MB, free: 6.836 MB / 298.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.0006689/0.008388, allocations: 0.5369 MB / 334.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.102e-05/0.008449, allocations: 4 kB / 334.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.008451, allocations: 0 / 334.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/0.008454, allocations: 12 kB / 334.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.008559, allocations: 4 kB / 334.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.00877, allocations: 126.5 kB / 334.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.587e-05/0.008806, allocations: 55.36 kB / 334.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.008828, allocations: 20.48 kB / 334.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008829, allocations: 0 / 334.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of Templates: time 0.003492/0.01232, allocations: 3.44 MB / 338.2 MB, free: 2.641 MB / 298.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.826840728521347]