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.001652/0.001652, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002023/0.002023, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.441/1.441, allocations: 230.3 MB / 258 MB, free: 8.207 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.002033/0.002033, allocations: 67.88 kB / 378.7 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2776, allocations: 53.36 MB / 432.1 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.00604/0.2836, allocations: 4.629 MB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.2861, allocations: 1.419 MB / 438.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.2863, allocations: 35.69 kB / 438.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.2868, allocations: 182.2 kB / 438.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.2871, allocations: 162.3 kB / 438.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.2878, allocations: 387.3 kB / 438.9 MB, free: 232 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.2889, allocations: 0.9783 MB / 439.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004469/0.2894, allocations: 287.4 kB / 440.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.2898, allocations: 354.5 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.2902, allocations: 342 kB / 440.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.2903, allocations: 72 kB / 440.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.2905, allocations: 123.9 kB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.2907, allocations: 171.3 kB / 441.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.291, allocations: 425.5 kB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.2922, allocations: 1.122 MB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2922, allocations: 0 / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2922, allocations: 0 / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.2922, allocations: 4 kB / 442.7 MB, free: 12.36 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.001622/0.2938, allocations: 1.097 MB / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2938, allocations: 12.03 kB / 443.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.2941, allocations: 119.3 kB / 444 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009596/0.295, allocations: 0.5551 MB / 444.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.2951, allocations: 62 kB / 444.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.2952, allocations: 83.95 kB / 444.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.2966, allocations: 0.8403 MB / 445.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.2966, allocations: 11.92 kB / 445.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-05/0.2967, allocations: 40 kB / 445.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.2967, allocations: 20 kB / 445.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009195/0.2976, allocations: 475.3 kB / 446 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003901/0.3015, allocations: 4.326 MB / 450.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.3021, allocations: 284.1 kB / 450.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.3023, allocations: 129.5 kB / 450.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.3024, allocations: 24.34 kB / 450.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.3025, allocations: 34.88 kB / 450.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.593e-06/0.3025, allocations: 0 / 450.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003259/0.3057, allocations: 1.587 MB / 452.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.3058, allocations: 55.91 kB / 452.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.3064, allocations: 0.5509 MB / 453 MB, free: 1.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.3065, allocations: 37.7 kB / 453.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.3068, allocations: 487.8 kB / 453.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.307, allocations: 222.1 kB / 453.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.3072, allocations: 138.6 kB / 453.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.3074, allocations: 382.8 kB / 454.3 MB, free: 356 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.3077, allocations: 165.9 kB / 454.4 MB, free: 188 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/0.3082, allocations: 455.2 kB / 454.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008937/0.3091, allocations: 0.675 MB / 455.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3091, allocations: 4 kB / 455.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001186/0.3103, allocations: 0.7425 MB / 456.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3103, allocations: 10.5 kB / 456.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.3103, allocations: 12 kB / 456.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.3105, allocations: 44.84 kB / 456.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.3111, allocations: 183.7 kB / 456.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.3125, allocations: 1.586 MB / 458.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.3128, allocations: 24 kB / 458.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.3129, allocations: 44.06 kB / 458.2 MB, free: 12.03 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.0002926/0.3131, allocations: 237.5 kB / 458.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.3132, allocations: 75.47 kB / 458.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.3134, allocations: 75.08 kB / 458.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3134, allocations: 8 kB / 458.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3134, allocations: 0 / 458.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.3134, allocations: 3.984 kB / 458.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.3154, allocations: 1.37 MB / 459.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3154, allocations: 4 kB / 459.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005228/0.316, allocations: 123.8 kB / 460.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.771e-05/0.316, allocations: 24.84 kB / 460.1 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.3161, allocations: 16 kB / 460.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.3171, allocations: 1.275 MB / 461.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3171, allocations: 7.938 kB / 461.4 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.3182, allocations: 0.7805 MB / 462.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.3183, allocations: 63.47 kB / 462.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.3184, allocations: 16 kB / 462.2 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.3186, allocations: 16 kB / 462.3 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.3187, allocations: 51.89 kB / 462.3 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.3187, allocations: 16 kB / 462.3 MB, free: 7.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004191/0.3191, allocations: 367.1 kB / 462.7 MB, free: 7.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3191, allocations: 0 / 462.7 MB, free: 7.242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006197/0.3197, allocations: 136 kB / 462.8 MB, free: 7.109 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.0001598/0.3199, allocations: 115.2 kB / 462.9 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3209, allocations: 0.5722 MB / 463.5 MB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3209, allocations: 0 / 463.5 MB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004232/0.3213, allocations: 299.8 kB / 463.8 MB, free: 6.102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.322, allocations: 95.09 kB / 463.9 MB, free: 6.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.3248, allocations: 1.882 MB / 465.8 MB, free: 4.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.3254, allocations: 0.9652 MB / 466.7 MB, free: 3.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.3256, allocations: 90 kB / 466.8 MB, free: 2.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.3257, allocations: 59.42 kB / 466.9 MB, free: 2.922 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3257, allocations: 0 / 466.9 MB, free: 2.922 MB / 366.1 MB Notification: Performance of Templates: time 0.01338/0.3391, allocations: 5.888 MB / 472.8 MB, free: 13.06 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6498609399423]