Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 47.88 kB / 378.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2508, allocations: 53.36 MB / 431.6 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006341/0.2572, allocations: 4.119 MB / 435.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002914/0.2601, allocations: 1.356 MB / 437 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.2604, allocations: 31.69 kB / 437.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.2608, allocations: 186.2 kB / 437.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.2611, allocations: 166.3 kB / 437.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007755/0.2619, allocations: 383.4 kB / 437.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.263, allocations: 0.9705 MB / 438.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004593/0.2634, allocations: 279.2 kB / 439 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/0.264, allocations: 342.6 kB / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.2644, allocations: 306 kB / 439.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.2645, allocations: 72 kB / 439.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.2648, allocations: 127.9 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.2649, allocations: 171.3 kB / 440 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003024/0.2652, allocations: 330.1 kB / 440.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.2664, allocations: 1.122 MB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2664, allocations: 0 / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2664, allocations: 0 / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.2664, allocations: 0 / 441.5 MB, free: 12.8 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.001624/0.2681, allocations: 1.097 MB / 442.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2681, allocations: 8.031 kB / 442.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.2683, allocations: 123.3 kB / 442.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.2694, allocations: 0.5512 MB / 443.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/0.2694, allocations: 62 kB / 443.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.2695, allocations: 87.94 kB / 443.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.2709, allocations: 0.8481 MB / 444.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.2709, allocations: 4 kB / 444.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.271, allocations: 40 kB / 444.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.271, allocations: 20 kB / 444.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008883/0.2719, allocations: 475.2 kB / 444.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.2759, allocations: 4.089 MB / 448.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.2764, allocations: 289.3 kB / 449.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.2767, allocations: 129.5 kB / 449.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.2768, allocations: 12.38 kB / 449.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.2768, allocations: 42.92 kB / 449.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.224e-06/0.2768, allocations: 0 / 449.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003318/0.2801, allocations: 1.596 MB / 450.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2802, allocations: 55.91 kB / 451 MB, free: 2.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006313/0.2808, allocations: 0.5547 MB / 451.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.2809, allocations: 33.7 kB / 451.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/0.2812, allocations: 499.7 kB / 452 MB, free: 1.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.2814, allocations: 214.2 kB / 452.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.2816, allocations: 142.6 kB / 452.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.2818, allocations: 386.7 kB / 452.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.2821, allocations: 161.9 kB / 452.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/0.2826, allocations: 459.2 kB / 453.4 MB, free: 280 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009122/0.2835, allocations: 0.6674 MB / 454 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.2835, allocations: 4 kB / 454.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001177/0.2847, allocations: 0.742 MB / 454.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.2847, allocations: 14.17 kB / 454.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.2847, allocations: 12 kB / 454.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.2849, allocations: 45.66 kB / 454.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.2855, allocations: 187.7 kB / 455 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.2869, allocations: 1.547 MB / 456.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.2872, allocations: 28 kB / 456.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.2873, allocations: 43.94 kB / 456.7 MB, free: 12.74 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.0003213/0.2876, allocations: 231.4 kB / 456.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.2877, allocations: 71.53 kB / 457 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.2878, allocations: 87.12 kB / 457 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2879, allocations: 7.938 kB / 457.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2879, allocations: 0 / 457.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2879, allocations: 0 / 457.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.2897, allocations: 1.178 MB / 458.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.2898, allocations: 7.938 kB / 458.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.2902, allocations: 115.9 kB / 458.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.908e-05/0.2903, allocations: 20.86 kB / 458.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.2904, allocations: 19.98 kB / 458.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.2914, allocations: 1.252 MB / 459.6 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2914, allocations: 4 kB / 459.6 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.2925, allocations: 0.7841 MB / 460.4 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.2926, allocations: 59.53 kB / 460.5 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/0.2926, allocations: 12 kB / 460.5 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.2928, allocations: 23.92 kB / 460.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.2929, allocations: 43.91 kB / 460.6 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.2929, allocations: 20 kB / 460.6 MB, free: 8.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004344/0.2934, allocations: 371.1 kB / 460.9 MB, free: 8.219 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2934, allocations: 0 / 460.9 MB, free: 8.219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006611/0.294, allocations: 136 kB / 461.1 MB, free: 8.086 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.0001434/0.2942, allocations: 119.1 kB / 461.2 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009977/0.2952, allocations: 0.5725 MB / 461.8 MB, free: 7.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2952, allocations: 0 / 461.8 MB, free: 7.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.2956, allocations: 299.2 kB / 462.1 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.2962, allocations: 107 kB / 462.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.2991, allocations: 1.877 MB / 464 MB, free: 5.031 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.2995, allocations: 374.3 kB / 464.4 MB, free: 4.641 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002742/0.2998, allocations: 97.94 kB / 464.5 MB, free: 4.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.2999, allocations: 59.42 kB / 464.6 MB, free: 4.484 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2999, allocations: 0 / 464.6 MB, free: 4.484 MB / 366.1 MB Notification: Performance of Templates: time 0.01293/0.3128, allocations: 6.098 MB / 470.7 MB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.63800984993577]