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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 97.03 kB / 17.06 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 194.9 kB / 17.99 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 47.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2739, allocations: 49.44 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.008352/0.2823, allocations: 4.572 MB / 405.3 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003255/0.2856, allocations: 1.337 MB / 406.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007087/0.2863, allocations: 23.81 kB / 406.6 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006581/0.287, allocations: 182.2 kB / 406.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007756/0.2878, allocations: 162.3 kB / 407 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.2889, allocations: 363.5 kB / 407.3 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.2905, allocations: 0.9821 MB / 408.3 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008201/0.2914, allocations: 418.9 kB / 408.7 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005271/0.2919, allocations: 330.6 kB / 409.1 MB, free: 476 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005136/0.2924, allocations: 349.9 kB / 409.4 MB, free: 124 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.2926, allocations: 72 kB / 409.5 MB, free: 52 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.2929, allocations: 112 kB / 409.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.2932, allocations: 171.3 kB / 409.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005123/0.2937, allocations: 433.5 kB / 410.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.2951, allocations: 1.099 MB / 411.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2951, allocations: 4 kB / 411.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2952, allocations: 0 / 411.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.522e-05/0.2952, allocations: 0 / 411.3 MB, free: 14.25 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.002105/0.2973, allocations: 1.142 MB / 412.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2974, allocations: 8.031 kB / 412.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.2976, allocations: 110.6 kB / 412.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.2989, allocations: 0.6228 MB / 413.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.866e-05/0.2989, allocations: 58 kB / 413.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.2991, allocations: 84 kB / 413.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.3009, allocations: 0.8481 MB / 414.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.315e-05/0.3009, allocations: 15.83 kB / 414.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.944e-05/0.301, allocations: 32 kB / 414.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.3011, allocations: 24 kB / 414.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.3024, allocations: 471.3 kB / 414.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/0.3063, allocations: 4.384 MB / 419 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005477/0.3069, allocations: 300.2 kB / 419.3 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.3071, allocations: 141.5 kB / 419.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.3073, allocations: 174.6 kB / 419.7 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.3073, allocations: 30.94 kB / 419.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 1.914e-06/0.3073, allocations: 4 kB / 419.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.003114/0.3105, allocations: 1.726 MB / 421.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.3105, allocations: 59.91 kB / 421.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005444/0.3111, allocations: 0.5468 MB / 422 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.3111, allocations: 37.7 kB / 422.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.3114, allocations: 478.4 kB / 422.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.3115, allocations: 209 kB / 422.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.3117, allocations: 142.5 kB / 422.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3118, allocations: 382.8 kB / 423.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.3121, allocations: 161.9 kB / 423.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.3126, allocations: 459.2 kB / 423.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000803/0.3134, allocations: 0.6634 MB / 424.5 MB, free: 144 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.3134, allocations: 4 kB / 424.5 MB, free: 140 kB / 334.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00111/0.3145, allocations: 0.7422 MB / 425.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3146, allocations: 11.98 kB / 425.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.3146, allocations: 12 kB / 425.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.3148, allocations: 44.84 kB / 425.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.3153, allocations: 183.7 kB / 425.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.3169, allocations: 1.685 MB / 427.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.3172, allocations: 27.98 kB / 427.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.3173, allocations: 43.94 kB / 427.3 MB, free: 13.23 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.0002919/0.3176, allocations: 229.6 kB / 427.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.3177, allocations: 75.09 kB / 427.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.3178, allocations: 75.08 kB / 427.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3178, allocations: 11.94 kB / 427.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3178, allocations: 0 / 427.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3178, allocations: 3.984 kB / 427.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.3197, allocations: 1.417 MB / 429.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3197, allocations: 4 kB / 429.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004744/0.3202, allocations: 119.8 kB / 429.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.199e-05/0.3202, allocations: 20.86 kB / 429.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.3203, allocations: 12 kB / 429.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008775/0.3212, allocations: 1.375 MB / 430.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3212, allocations: 4 kB / 430.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009854/0.3222, allocations: 0.7774 MB / 431.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3223, allocations: 144.2 kB / 431.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.326e-05/0.3224, allocations: 16 kB / 431.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.3226, allocations: 12 kB / 431.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.3227, allocations: 43.89 kB / 431.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.3227, allocations: 19.98 kB / 431.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003826/0.3231, allocations: 359.1 kB / 432 MB, free: 8.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3231, allocations: 0 / 432 MB, free: 8.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005868/0.3237, allocations: 140.2 kB / 432.1 MB, free: 8.07 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.000141/0.3238, allocations: 131.1 kB / 432.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009003/0.3247, allocations: 0.5846 MB / 432.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3247, allocations: 0 / 432.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.3252, allocations: 310.4 kB / 433.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/0.3258, allocations: 109.3 kB / 433.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.3286, allocations: 1.852 MB / 435.1 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.3291, allocations: 0.9652 MB / 436 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002557/0.3294, allocations: 85.91 kB / 436.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.3295, allocations: 59.42 kB / 436.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3295, allocations: 4 kB / 436.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of Templates: time 0.01086/0.3404, allocations: 5.438 MB / 441.6 MB, free: 14.44 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile (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) 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) Reference file matches