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.001726/0.001726, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002078/0.002078, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.001628/0.001628, allocations: 48.02 kB / 378.3 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2573, allocations: 53.37 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.00609/0.2634, allocations: 4.619 MB / 436.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.2661, allocations: 1.415 MB / 437.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000356/0.2664, allocations: 31.69 kB / 437.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.2668, allocations: 182.2 kB / 437.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.2672, allocations: 166.3 kB / 438 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007934/0.268, allocations: 391.2 kB / 438.4 MB, free: 124 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.2692, allocations: 0.9821 MB / 439.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000493/0.2697, allocations: 287.5 kB / 439.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004987/0.2702, allocations: 350.5 kB / 440 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/0.2706, allocations: 346 kB / 440.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.2707, allocations: 72 kB / 440.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.2709, allocations: 119.9 kB / 440.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.2711, allocations: 171.3 kB / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003992/0.2715, allocations: 429.5 kB / 441.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.2727, allocations: 1.11 MB / 442.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2727, allocations: 0 / 442.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2727, allocations: 4 kB / 442.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.2728, allocations: 0 / 442.2 MB, free: 12.26 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.001769/0.2745, allocations: 1.1 MB / 443.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2746, allocations: 12.03 kB / 443.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.2748, allocations: 119.3 kB / 443.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.2759, allocations: 0.5551 MB / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.276, allocations: 54 kB / 444.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.2761, allocations: 87.95 kB / 444.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.2775, allocations: 0.8442 MB / 445 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.831e-05/0.2776, allocations: 7.938 kB / 445 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.2776, allocations: 40 kB / 445.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.2776, allocations: 20 kB / 445.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009276/0.2786, allocations: 475.3 kB / 445.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004504/0.2831, allocations: 4.326 MB / 449.9 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/0.2837, allocations: 291.6 kB / 450.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.284, allocations: 129.5 kB / 450.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.2841, allocations: 16.38 kB / 450.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/0.2841, allocations: 38.81 kB / 450.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.843e-06/0.2841, allocations: 0 / 450.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003401/0.2875, allocations: 1.6 MB / 451.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.2876, allocations: 55.91 kB / 452 MB, free: 2.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006664/0.2883, allocations: 0.547 MB / 452.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.2883, allocations: 37.7 kB / 452.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.2887, allocations: 491.8 kB / 453 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.2889, allocations: 218.1 kB / 453.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.2891, allocations: 142.6 kB / 453.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002446/0.2893, allocations: 382.8 kB / 453.8 MB, free: 244 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.2896, allocations: 161.9 kB / 453.9 MB, free: 80 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/0.2902, allocations: 455.2 kB / 454.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.2913, allocations: 0.6712 MB / 455 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.2913, allocations: 4 kB / 455.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001308/0.2926, allocations: 0.7467 MB / 455.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.2926, allocations: 8 kB / 455.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.2926, allocations: 12 kB / 455.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/0.2928, allocations: 48.83 kB / 455.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.2934, allocations: 183.7 kB / 456 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.295, allocations: 1.578 MB / 457.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.2953, allocations: 28 kB / 457.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.2954, allocations: 40 kB / 457.7 MB, free: 11.93 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.0003228/0.2957, allocations: 233.5 kB / 457.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.2958, allocations: 79.47 kB / 458 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.2959, allocations: 79.06 kB / 458.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.2959, allocations: 8 kB / 458.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.2959, allocations: 0 / 458.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.2959, allocations: 3.984 kB / 458.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.2982, allocations: 1.369 MB / 459.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2982, allocations: 4 kB / 459.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005016/0.2987, allocations: 119.8 kB / 459.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.952e-05/0.2987, allocations: 20.86 kB / 459.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.2988, allocations: 19.98 kB / 459.6 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.2998, allocations: 1.271 MB / 460.9 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.2999, allocations: 11.88 kB / 460.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.301, allocations: 0.7766 MB / 461.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.3011, allocations: 67.45 kB / 461.7 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.3012, allocations: 16 kB / 461.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.3014, allocations: 12 kB / 461.8 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.695e-05/0.3015, allocations: 51.89 kB / 461.8 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.3015, allocations: 20 kB / 461.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004235/0.3019, allocations: 367.1 kB / 462.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3019, allocations: 192 / 462.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006528/0.3026, allocations: 136 kB / 462.3 MB, free: 7.016 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.0001367/0.3027, allocations: 115.1 kB / 462.4 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.3038, allocations: 0.5725 MB / 463 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3038, allocations: 4 kB / 463 MB, free: 6.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.3042, allocations: 302.4 kB / 463.3 MB, free: 6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/0.3048, allocations: 91.72 kB / 463.4 MB, free: 5.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.3084, allocations: 1.885 MB / 465.3 MB, free: 3.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/0.3091, allocations: 0.9652 MB / 466.3 MB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002637/0.3094, allocations: 86.02 kB / 466.3 MB, free: 2.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.3095, allocations: 59.42 kB / 466.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3095, allocations: 0 / 466.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of Templates: time 0.0136/0.3231, allocations: 5.895 MB / 472.3 MB, free: 12.96 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.820017013931647]