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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 122.1 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.001201, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2601, allocations: 50.55 MB / 409.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005771/0.2659, allocations: 4.578 MB / 413.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.2688, allocations: 1.399 MB / 415.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007573/0.2696, allocations: 27.88 kB / 415.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005988/0.2702, allocations: 174.2 kB / 415.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00068/0.2709, allocations: 162.3 kB / 415.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.272, allocations: 387.4 kB / 416 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.2732, allocations: 0.9821 MB / 416.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005526/0.2737, allocations: 414.9 kB / 417.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003829/0.2741, allocations: 338.5 kB / 417.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.2744, allocations: 342 kB / 418 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.125e-05/0.2745, allocations: 75.94 kB / 418.1 MB, free: 8.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.2748, allocations: 123.9 kB / 418.2 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.2749, allocations: 171.3 kB / 418.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002921/0.2752, allocations: 425.5 kB / 418.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.2762, allocations: 1.108 MB / 419.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2762, allocations: 0 / 419.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2763, allocations: 4 kB / 419.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.2763, allocations: 0 / 419.9 MB, free: 6.902 MB / 334.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.001454/0.2777, allocations: 1.176 MB / 421.1 MB, free: 5.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2778, allocations: 8.031 kB / 421.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.278, allocations: 119.3 kB / 421.2 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008457/0.2789, allocations: 0.6389 MB / 421.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.2789, allocations: 54 kB / 421.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.581e-05/0.279, allocations: 91.94 kB / 422 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.2802, allocations: 0.8442 MB / 422.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/0.2803, allocations: 7.938 kB / 422.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.559e-05/0.2803, allocations: 36 kB / 422.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.2804, allocations: 20 kB / 422.9 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008502/0.2812, allocations: 475.3 kB / 423.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.2845, allocations: 4.378 MB / 427.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.2851, allocations: 307.5 kB / 428 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.2853, allocations: 137.6 kB / 428.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.2855, allocations: 174.5 kB / 428.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.2856, allocations: 38.94 kB / 428.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 4.288e-06/0.2856, allocations: 0 / 428.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003179/0.2888, allocations: 1.747 MB / 430.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.2888, allocations: 67.95 kB / 430.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.2894, allocations: 0.5352 MB / 430.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.2894, allocations: 37.7 kB / 430.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.2897, allocations: 495.8 kB / 431.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.2899, allocations: 222.1 kB / 431.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.29, allocations: 146.6 kB / 431.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2902, allocations: 374.8 kB / 432 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.2905, allocations: 157.9 kB / 432.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.2909, allocations: 459.2 kB / 432.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008363/0.2917, allocations: 0.6712 MB / 433.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2918, allocations: 0 / 433.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001058/0.2928, allocations: 0.7506 MB / 434 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.2929, allocations: 11.94 kB / 434 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.2929, allocations: 8 kB / 434 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.293, allocations: 48.84 kB / 434.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.2936, allocations: 179.7 kB / 434.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.2949, allocations: 1.689 MB / 435.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.2952, allocations: 24.05 kB / 435.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.2953, allocations: 39.98 kB / 436 MB, free: 5.793 MB / 350.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.0003111/0.2956, allocations: 237.2 kB / 436.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.2957, allocations: 87.45 kB / 436.3 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.2959, allocations: 71.08 kB / 436.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2959, allocations: 4 kB / 436.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.2959, allocations: 4 kB / 436.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.2959, allocations: 3.984 kB / 436.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.2978, allocations: 1.422 MB / 437.8 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.2978, allocations: 4 kB / 437.8 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.2982, allocations: 115.8 kB / 437.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.808e-05/0.2983, allocations: 24.84 kB / 437.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.2984, allocations: 12 kB / 438 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007976/0.2992, allocations: 1.375 MB / 439.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.2992, allocations: 7.938 kB / 439.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009448/0.3001, allocations: 0.774 MB / 440.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.14e-05/0.3002, allocations: 144.5 kB / 440.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.3003, allocations: 19.98 kB / 440.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.3005, allocations: 12 kB / 440.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.3006, allocations: 47.92 kB / 440.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.3006, allocations: 16 kB / 440.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003932/0.301, allocations: 367.1 kB / 440.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.301, allocations: 0 / 440.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006555/0.3017, allocations: 136 kB / 440.8 MB, free: 0.6094 MB / 350.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.0001634/0.3019, allocations: 115.2 kB / 441 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009994/0.3029, allocations: 0.598 MB / 441.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3029, allocations: 0 / 441.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.3033, allocations: 306.4 kB / 441.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.3039, allocations: 102.8 kB / 442 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.3064, allocations: 1.883 MB / 443.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.3069, allocations: 0.9652 MB / 444.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002361/0.3072, allocations: 86.02 kB / 444.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.3073, allocations: 59.42 kB / 444.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3073, allocations: 0 / 444.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of Templates: time 0.0109/0.3182, allocations: 5.445 MB / 450.4 MB, free: 6.961 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches