Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.597/1.597, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002459/0.002459, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3787, allocations: 53.36 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006341/0.3851, allocations: 4.116 MB / 436.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.388, allocations: 1.368 MB / 437.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.3884, allocations: 31.69 kB / 437.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.3888, allocations: 178.2 kB / 438 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.3892, allocations: 170.3 kB / 438.2 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.39, allocations: 379.5 kB / 438.5 MB, free: 452 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.3911, allocations: 0.9821 MB / 439.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004866/0.3916, allocations: 287.2 kB / 439.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004399/0.392, allocations: 346.6 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.3924, allocations: 353.9 kB / 440.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.3925, allocations: 72 kB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.3927, allocations: 116 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.3929, allocations: 175.3 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.3932, allocations: 334 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.3944, allocations: 1.115 MB / 442.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3944, allocations: 8 kB / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3944, allocations: 0 / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.3944, allocations: 0 / 442.3 MB, free: 12.66 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001718/0.3962, allocations: 1.104 MB / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3962, allocations: 8.031 kB / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.3965, allocations: 119.3 kB / 443.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.3975, allocations: 0.5473 MB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.3975, allocations: 62 kB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.3977, allocations: 79.95 kB / 444.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.399, allocations: 0.8481 MB / 445.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.3991, allocations: 11.94 kB / 445.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.108e-05/0.3991, allocations: 32 kB / 445.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.3992, allocations: 27.94 kB / 445.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009017/0.4001, allocations: 467.3 kB / 445.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004081/0.4042, allocations: 4.092 MB / 449.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.4048, allocations: 289.4 kB / 450 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.405, allocations: 125.6 kB / 450.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.4051, allocations: 16.36 kB / 450.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.4052, allocations: 46.94 kB / 450.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.174e-06/0.4052, allocations: 0 / 450.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003465/0.4086, allocations: 1.592 MB / 451.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.4087, allocations: 55.91 kB / 451.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006649/0.4094, allocations: 0.5508 MB / 452.3 MB, free: 2.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.4094, allocations: 41.7 kB / 452.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.4098, allocations: 495.7 kB / 452.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.41, allocations: 226.1 kB / 453.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.4102, allocations: 138.6 kB / 453.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.4104, allocations: 382.7 kB / 453.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.4106, allocations: 157.9 kB / 453.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.4112, allocations: 459.2 kB / 454.2 MB, free: 152 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009237/0.4121, allocations: 0.6634 MB / 454.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4121, allocations: 4 kB / 454.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001213/0.4133, allocations: 0.7465 MB / 455.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.4134, allocations: 8.188 kB / 455.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.4134, allocations: 12 kB / 455.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.4136, allocations: 48.84 kB / 455.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.4141, allocations: 179.7 kB / 455.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.4158, allocations: 1.563 MB / 457.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/0.4162, allocations: 24 kB / 457.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.259e-05/0.4163, allocations: 43.98 kB / 457.5 MB, free: 12.62 MB / 366.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.0004064/0.4167, allocations: 233.6 kB / 457.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.4168, allocations: 71.53 kB / 457.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.417, allocations: 79.02 kB / 457.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.417, allocations: 11.94 kB / 457.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.417, allocations: 0 / 457.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.417, allocations: 3.984 kB / 457.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.4193, allocations: 1.174 MB / 459 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.4193, allocations: 7.938 kB / 459.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.4198, allocations: 115.8 kB / 459.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.4199, allocations: 24.84 kB / 459.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.4199, allocations: 19.94 kB / 459.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.4211, allocations: 1.241 MB / 460.5 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.4211, allocations: 4 kB / 460.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.4226, allocations: 0.7841 MB / 461.2 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.4227, allocations: 63.52 kB / 461.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.712e-05/0.4228, allocations: 16.16 kB / 461.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.4231, allocations: 20 kB / 461.3 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4232, allocations: 47.84 kB / 461.4 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.4233, allocations: 16 kB / 461.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006694/0.4239, allocations: 367.1 kB / 461.8 MB, free: 8.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4239, allocations: 0 / 461.8 MB, free: 8.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009613/0.4249, allocations: 139.9 kB / 461.9 MB, free: 7.961 MB / 366.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.0001984/0.4251, allocations: 119.2 kB / 462 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.4264, allocations: 0.5686 MB / 462.6 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4264, allocations: 4.125 kB / 462.6 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005717/0.427, allocations: 302.5 kB / 462.9 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007299/0.4277, allocations: 96.73 kB / 463 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.4318, allocations: 1.878 MB / 464.9 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.4323, allocations: 374.3 kB / 465.2 MB, free: 4.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003415/0.4326, allocations: 86.03 kB / 465.3 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.4328, allocations: 59.42 kB / 465.4 MB, free: 4.375 MB / 366.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4328, allocations: 0 / 465.4 MB, free: 4.375 MB / 366.1 MB Notification: Performance of Templates: time 0.01835/0.4511, allocations: 6.344 MB / 471.7 MB, free: 14.13 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.204370859006303]