Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.001409/0.001409, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001475/0.001475, allocations: 219.5 kB / 24.48 MB, free: 3.836 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.528/1.528, allocations: 230.5 MB / 258.1 MB, free: 7.816 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.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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.89 kB / 379 MB, free: 2.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2695, allocations: 53.41 MB / 432.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005961/0.2754, allocations: 4.109 MB / 436.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.2783, allocations: 1.36 MB / 437.9 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.2787, allocations: 35.69 kB / 437.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000417/0.2792, allocations: 174.2 kB / 438.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004114/0.2796, allocations: 170.3 kB / 438.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008425/0.2804, allocations: 383.4 kB / 438.6 MB, free: 324 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.2816, allocations: 0.9783 MB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004726/0.282, allocations: 263.2 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.2825, allocations: 358.5 kB / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.2829, allocations: 298 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.283, allocations: 75.94 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.2833, allocations: 123.9 kB / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.2834, allocations: 171.3 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00032/0.2837, allocations: 334.1 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.2849, allocations: 1.115 MB / 442.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2849, allocations: 0 / 442.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2849, allocations: 3.938 kB / 442.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.285, allocations: 4 kB / 442.3 MB, free: 12.6 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.001619/0.2866, allocations: 1.093 MB / 443.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2866, allocations: 16.03 kB / 443.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.2869, allocations: 115.3 kB / 443.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.288, allocations: 0.559 MB / 444.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.288, allocations: 58 kB / 444.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.2881, allocations: 83.95 kB / 444.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.2895, allocations: 0.8442 MB / 445.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.2895, allocations: 11.94 kB / 445.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.143e-05/0.2896, allocations: 39.94 kB / 445.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.2896, allocations: 20 kB / 445.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008933/0.2905, allocations: 463.3 kB / 445.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003921/0.2944, allocations: 4.104 MB / 449.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.295, allocations: 279.6 kB / 450 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.2953, allocations: 133.5 kB / 450.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.2954, allocations: 20.36 kB / 450.1 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.2954, allocations: 34.94 kB / 450.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.274e-06/0.2954, allocations: 4 kB / 450.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003377/0.2988, allocations: 1.587 MB / 451.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.2989, allocations: 59.91 kB / 451.8 MB, free: 2.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/0.2995, allocations: 0.5508 MB / 452.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.2995, allocations: 37.7 kB / 452.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.2999, allocations: 495.7 kB / 452.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.3001, allocations: 226.2 kB / 453.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.3003, allocations: 134.6 kB / 453.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3005, allocations: 386.7 kB / 453.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.3008, allocations: 157.9 kB / 453.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.3013, allocations: 459.1 kB / 454.2 MB, free: 92 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009102/0.3022, allocations: 0.6713 MB / 454.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3022, allocations: 0 / 454.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001222/0.3034, allocations: 0.7418 MB / 455.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.3034, allocations: 16.84 kB / 455.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.3035, allocations: 8 kB / 455.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.3036, allocations: 48.84 kB / 455.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005866/0.3042, allocations: 179.7 kB / 455.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.3058, allocations: 1.555 MB / 457.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.3061, allocations: 28 kB / 457.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.3062, allocations: 36 kB / 457.5 MB, free: 12.57 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.0003602/0.3065, allocations: 241.5 kB / 457.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.3067, allocations: 75.53 kB / 457.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.3068, allocations: 71.08 kB / 457.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.3068, allocations: 11.94 kB / 457.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3068, allocations: 0 / 457.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3068, allocations: 7.922 kB / 457.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.3088, allocations: 1.184 MB / 459.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/0.3088, allocations: 7.938 kB / 459.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004862/0.3093, allocations: 115.8 kB / 459.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.385e-05/0.3094, allocations: 24.84 kB / 459.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.3094, allocations: 12 kB / 459.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.3106, allocations: 1.249 MB / 460.5 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.423e-06/0.3106, allocations: 7.938 kB / 460.5 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.3119, allocations: 0.7763 MB / 461.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.312, allocations: 63.53 kB / 461.3 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.312, allocations: 15.98 kB / 461.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.3122, allocations: 12 kB / 461.3 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.3123, allocations: 55.98 kB / 461.4 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.3124, allocations: 20 kB / 461.4 MB, free: 8.379 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004583/0.3128, allocations: 359.1 kB / 461.8 MB, free: 8.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3128, allocations: 0 / 461.8 MB, free: 8.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006962/0.3135, allocations: 136 kB / 461.9 MB, free: 7.902 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.0001748/0.3137, allocations: 123.1 kB / 462 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.3148, allocations: 0.5642 MB / 462.6 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3148, allocations: 0.5625 kB / 462.6 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.3152, allocations: 298.8 kB / 462.9 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006289/0.3158, allocations: 102.6 kB / 463 MB, free: 6.797 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.3189, allocations: 1.921 MB / 464.9 MB, free: 4.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.3193, allocations: 374.3 kB / 465.3 MB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.3194, allocations: 67.42 kB / 465.3 MB, free: 4.348 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3194, allocations: 4 kB / 465.3 MB, free: 4.344 MB / 366.1 MB Notification: Performance of Templates: time 0.018/0.3374, allocations: 12.79 MB / 478.1 MB, free: 7.543 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 8.196368947159499]