Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 81.97 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 146.7 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0.5625 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.277e-05, allocations: 7.469 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004787/0.00481, allocations: 4.1 MB / 323 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.007236, allocations: 1.292 MB / 324.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004269/0.007663, allocations: 32.97 kB / 324.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.008105, allocations: 183.8 kB / 324.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004243/0.008529, allocations: 175.2 kB / 324.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008755/0.009405, allocations: 375.5 kB / 325.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.01064, allocations: 1.002 MB / 326.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004804/0.01112, allocations: 268.1 kB / 326.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008125/0.01193, allocations: 498 kB / 326.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004146/0.01235, allocations: 233.8 kB / 327 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.01246, allocations: 72.53 kB / 327.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.01272, allocations: 115.4 kB / 327.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.01292, allocations: 181.7 kB / 327.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.01322, allocations: 255.4 kB / 327.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.01459, allocations: 1.094 MB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.0146, allocations: 5.062 kB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.0146, allocations: 5.281 kB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.01462, allocations: 0 / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00177/0.01639, allocations: 1.087 MB / 329.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.01643, allocations: 14.67 kB / 329.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.0166, allocations: 110.4 kB / 330 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.01764, allocations: 0.5454 MB / 330.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-05/0.01771, allocations: 58.38 kB / 330.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.01783, allocations: 85.33 kB / 330.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.01937, allocations: 0.8408 MB / 331.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.848e-05/0.01942, allocations: 24.34 kB / 331.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.01949, allocations: 37.03 kB / 331.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.01951, allocations: 21.97 kB / 331.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009289/0.02044, allocations: 466.2 kB / 332 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003957/0.0244, allocations: 4.069 MB / 336.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.02502, allocations: 286.2 kB / 336.4 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.02526, allocations: 126 kB / 336.5 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.02537, allocations: 20.42 kB / 336.5 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.02541, allocations: 37.12 kB / 336.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 2.245e-06/0.02541, allocations: 1 kB / 336.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=57): time 0.003463/0.02887, allocations: 1.599 MB / 338.1 MB, free: 6.574 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.02892, allocations: 62.34 kB / 338.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006351/0.02956, allocations: 0.5423 MB / 338.7 MB, free: 6.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.0296, allocations: 35.08 kB / 338.8 MB, free: 6.133 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.02996, allocations: 494.7 kB / 339.3 MB, free: 5.695 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.03012, allocations: 222.9 kB / 339.5 MB, free: 5.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.03033, allocations: 141.6 kB / 339.6 MB, free: 5.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.03052, allocations: 383.2 kB / 340 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.03081, allocations: 159.2 kB / 340.2 MB, free: 4.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.03136, allocations: 461.6 kB / 340.6 MB, free: 4.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009035/0.03227, allocations: 0.668 MB / 341.3 MB, free: 3.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.03227, allocations: 3.75 kB / 341.3 MB, free: 3.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001205/0.03348, allocations: 0.7389 MB / 342 MB, free: 3.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.0335, allocations: 13.19 kB / 342 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.03351, allocations: 13.34 kB / 342 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.03369, allocations: 55.97 kB / 342.1 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005864/0.03427, allocations: 185.4 kB / 342.3 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.03573, allocations: 1.546 MB / 343.8 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.03608, allocations: 35.88 kB / 343.9 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.03614, allocations: 39.98 kB / 343.9 MB, free: 1.832 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003609/0.0365, allocations: 233.5 kB / 344.1 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.0366, allocations: 75.59 kB / 344.2 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.03673, allocations: 75.08 kB / 344.3 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.03674, allocations: 4 kB / 344.3 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.03675, allocations: 3.938 kB / 344.3 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.03676, allocations: 7.922 kB / 344.3 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.03871, allocations: 1.178 MB / 345.5 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.03872, allocations: 4 kB / 345.5 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/0.03923, allocations: 115.8 kB / 345.6 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.494e-05/0.03931, allocations: 24.84 kB / 345.6 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.03935, allocations: 20.06 kB / 345.6 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.04036, allocations: 1.249 MB / 346.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.04037, allocations: 4 kB / 346.9 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.0415, allocations: 0.7729 MB / 347.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.04161, allocations: 67.52 kB / 347.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.157e-05/0.04167, allocations: 12 kB / 347.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.04189, allocations: 12 kB / 347.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.04201, allocations: 51.95 kB / 347.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.04204, allocations: 16 kB / 347.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004378/0.04247, allocations: 359.1 kB / 348.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04247, allocations: 0 / 348.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007294/0.0432, allocations: 140 kB / 348.3 MB, free: 13.2 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000176/0.04338, allocations: 126 kB / 348.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.0444, allocations: 0.5689 MB / 349 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.0444, allocations: 0 / 349 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004343/0.04484, allocations: 306.8 kB / 349.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006335/0.04547, allocations: 94.52 kB / 349.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.04811, allocations: 1.648 MB / 351 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.0485, allocations: 378.2 kB / 351.4 MB, free: 9.977 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002569/0.04875, allocations: 89.91 kB / 351.5 MB, free: 9.887 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.04889, allocations: 60.48 kB / 351.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.04889, allocations: 0 / 351.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of Templates: time 0.01326/0.06215, allocations: 5.206 MB / 356.7 MB, free: 4.723 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.5004743039608]