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.001368/0.001368, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001656, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 67.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2737, allocations: 50.55 MB / 409.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005518/0.2792, allocations: 4.575 MB / 413.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.2816, allocations: 1.399 MB / 415.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.2819, allocations: 31.81 kB / 415.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.2823, allocations: 174.2 kB / 415.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.2826, allocations: 162.3 kB / 415.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006938/0.2833, allocations: 383.4 kB / 415.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008878/0.2842, allocations: 0.986 MB / 416.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005533/0.2848, allocations: 422.9 kB / 417.3 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003785/0.2851, allocations: 334.6 kB / 417.7 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.2855, allocations: 342 kB / 418 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.182e-05/0.2856, allocations: 72 kB / 418.1 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.2858, allocations: 131.8 kB / 418.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.2859, allocations: 171.3 kB / 418.4 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.2862, allocations: 425.5 kB / 418.8 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009173/0.2871, allocations: 1.102 MB / 419.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2872, allocations: 0 / 419.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2872, allocations: 0 / 419.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.2872, allocations: 4 kB / 419.9 MB, free: 6.832 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.001443/0.2886, allocations: 1.142 MB / 421 MB, free: 5.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2887, allocations: 16.03 kB / 421.1 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.2889, allocations: 110.8 kB / 421.2 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/0.2898, allocations: 0.6228 MB / 421.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.2898, allocations: 65.94 kB / 421.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.836e-05/0.29, allocations: 83.91 kB / 421.9 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.2912, allocations: 0.852 MB / 422.8 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.2912, allocations: 11.84 kB / 422.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.675e-05/0.2913, allocations: 36 kB / 422.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.2913, allocations: 20 kB / 422.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008269/0.2922, allocations: 475.3 kB / 423.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003435/0.2956, allocations: 4.365 MB / 427.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.2963, allocations: 307.5 kB / 428 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.2965, allocations: 145.5 kB / 428.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.2967, allocations: 162.6 kB / 428.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.2967, allocations: 38.94 kB / 428.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 4.819e-06/0.2967, allocations: 0 / 428.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003128/0.2999, allocations: 1.737 MB / 430.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.2999, allocations: 63.91 kB / 430.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005469/0.3005, allocations: 0.543 MB / 430.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.3005, allocations: 37.7 kB / 430.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.3008, allocations: 474.5 kB / 431.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.301, allocations: 216.9 kB / 431.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.3011, allocations: 142.5 kB / 431.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3013, allocations: 382.8 kB / 431.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.3016, allocations: 157.9 kB / 432 MB, free: 10.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.3021, allocations: 459.2 kB / 432.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008084/0.3029, allocations: 0.6673 MB / 433.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.303, allocations: 4 kB / 433.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001057/0.304, allocations: 0.7346 MB / 433.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3041, allocations: 12 kB / 433.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.3041, allocations: 15.92 kB / 433.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/0.3042, allocations: 48.84 kB / 434 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/0.3048, allocations: 183.7 kB / 434.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.3061, allocations: 1.685 MB / 435.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.3064, allocations: 27.98 kB / 435.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.3065, allocations: 36 kB / 435.9 MB, free: 5.805 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.000262/0.3068, allocations: 237.5 kB / 436.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-05/0.3068, allocations: 75.12 kB / 436.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.307, allocations: 79.08 kB / 436.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.307, allocations: 4 kB / 436.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.307, allocations: 4.188 kB / 436.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.307, allocations: 3.984 kB / 436.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.3088, allocations: 1.421 MB / 437.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.3088, allocations: 4 kB / 437.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.3093, allocations: 111.9 kB / 437.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.097e-05/0.3093, allocations: 28.8 kB / 437.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.3094, allocations: 12 kB / 437.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009096/0.3103, allocations: 1.367 MB / 439.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3103, allocations: 4 kB / 439.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3113, allocations: 0.7736 MB / 440 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.3114, allocations: 148 kB / 440.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.3115, allocations: 16 kB / 440.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.3117, allocations: 12 kB / 440.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.3118, allocations: 47.92 kB / 440.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.3118, allocations: 19.98 kB / 440.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003796/0.3122, allocations: 363.1 kB / 440.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3122, allocations: 0 / 440.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006039/0.3128, allocations: 136 kB / 440.7 MB, free: 0.6328 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.0001458/0.313, allocations: 119.1 kB / 440.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009051/0.3139, allocations: 0.5886 MB / 441.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3139, allocations: 4 kB / 441.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.3143, allocations: 306.4 kB / 441.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006037/0.3149, allocations: 109.6 kB / 441.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.3174, allocations: 1.846 MB / 443.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.3179, allocations: 0.9652 MB / 444.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000232/0.3181, allocations: 82.02 kB / 444.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.3183, allocations: 59.42 kB / 444.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3183, allocations: 0 / 444.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of Templates: time 0.01035/0.3286, allocations: 5.448 MB / 450.2 MB, free: 7.02 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