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.001773/0.001773, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002106/0.002106, allocations: 215.5 kB / 24.48 MB, free: 3.957 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.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001535/0.001535, allocations: 43.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2552, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006223/0.2614, allocations: 4.116 MB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.2643, allocations: 1.36 MB / 437.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003707/0.2646, allocations: 35.69 kB / 437.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004351/0.2651, allocations: 178.2 kB / 438 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.2654, allocations: 166.3 kB / 438.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008297/0.2663, allocations: 387.4 kB / 438.5 MB, free: 496 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.2674, allocations: 0.9744 MB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004881/0.2679, allocations: 291.2 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005017/0.2684, allocations: 350.5 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000421/0.2688, allocations: 346 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.2689, allocations: 72 kB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.2691, allocations: 119.9 kB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.2693, allocations: 175.3 kB / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.2696, allocations: 330.1 kB / 441.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.2709, allocations: 1.115 MB / 442.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2709, allocations: 4 kB / 442.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2709, allocations: 0 / 442.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.2709, allocations: 4 kB / 442.3 MB, free: 12.71 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.001784/0.2727, allocations: 1.097 MB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2727, allocations: 12.03 kB / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003147/0.273, allocations: 115.3 kB / 443.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.2742, allocations: 0.5589 MB / 444.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.988e-05/0.2742, allocations: 62 kB / 444.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.2744, allocations: 83.95 kB / 444.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.2758, allocations: 0.8481 MB / 445.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.2759, allocations: 7.938 kB / 445.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.323e-05/0.2759, allocations: 32 kB / 445.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.276, allocations: 24 kB / 445.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009083/0.2769, allocations: 463.3 kB / 445.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/0.281, allocations: 4.096 MB / 449.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006208/0.2816, allocations: 289.4 kB / 450 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.2818, allocations: 129.6 kB / 450.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.282, allocations: 20.3 kB / 450.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.282, allocations: 38.94 kB / 450.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.785e-06/0.282, allocations: 3.938 kB / 450.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003434/0.2854, allocations: 1.592 MB / 451.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.2855, allocations: 59.91 kB / 451.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006694/0.2862, allocations: 0.5547 MB / 452.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.2862, allocations: 37.7 kB / 452.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.2866, allocations: 499.7 kB / 452.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.2868, allocations: 218.2 kB / 453.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.287, allocations: 134.6 kB / 453.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.2872, allocations: 386.7 kB / 453.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.2875, allocations: 157.9 kB / 453.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.288, allocations: 459.2 kB / 454.2 MB, free: 204 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009146/0.2889, allocations: 0.6751 MB / 454.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2889, allocations: 0 / 454.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00124/0.2902, allocations: 0.7426 MB / 455.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.2902, allocations: 8.188 kB / 455.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.2902, allocations: 12 kB / 455.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.2904, allocations: 48.84 kB / 455.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.2911, allocations: 179.7 kB / 455.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.2926, allocations: 1.551 MB / 457.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.293, allocations: 28 kB / 457.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/0.2931, allocations: 40 kB / 457.5 MB, free: 12.67 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.0003469/0.2934, allocations: 241.5 kB / 457.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.2935, allocations: 75.53 kB / 457.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.2936, allocations: 75.08 kB / 457.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.2936, allocations: 11.94 kB / 457.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2937, allocations: 0 / 457.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.2937, allocations: 3.984 kB / 457.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.2956, allocations: 1.178 MB / 459.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.2956, allocations: 7.938 kB / 459.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/0.2961, allocations: 119.8 kB / 459.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.898e-05/0.2962, allocations: 20.84 kB / 459.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.2962, allocations: 12 kB / 459.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009867/0.2972, allocations: 1.249 MB / 460.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.2972, allocations: 7.938 kB / 460.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.2983, allocations: 0.7763 MB / 461.2 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.2985, allocations: 63.52 kB / 461.3 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.2985, allocations: 16.16 kB / 461.3 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.2987, allocations: 16 kB / 461.3 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/0.2988, allocations: 51.89 kB / 461.4 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.2989, allocations: 20 kB / 461.4 MB, free: 8.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004323/0.2993, allocations: 363.3 kB / 461.8 MB, free: 8.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2993, allocations: 0 / 461.8 MB, free: 8.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006794/0.3, allocations: 143.9 kB / 461.9 MB, free: 8.008 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.0001492/0.3001, allocations: 115.1 kB / 462 MB, free: 7.887 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.3011, allocations: 0.5686 MB / 462.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3012, allocations: 8.125 kB / 462.6 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004193/0.3016, allocations: 294.5 kB / 462.9 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006312/0.3022, allocations: 101.7 kB / 463 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.3053, allocations: 1.915 MB / 464.9 MB, free: 4.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.3057, allocations: 382.2 kB / 465.3 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.3059, allocations: 63.42 kB / 465.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3059, allocations: 0 / 465.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of Templates: time 0.01781/0.3237, allocations: 12.8 MB / 478.1 MB, free: 7.648 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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: 8.235663807980018]