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.00154/0.00154, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001705/0.001705, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.375/1.375, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.001581/0.001581, allocations: 39.94 kB / 379 MB, free: 2.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2394, allocations: 53.37 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006345/0.2458, allocations: 4.619 MB / 437 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.2484, allocations: 1.418 MB / 438.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005342/0.2489, allocations: 31.69 kB / 438.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004767/0.2494, allocations: 178.2 kB / 438.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.2499, allocations: 170.3 kB / 438.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008406/0.2507, allocations: 387.3 kB / 439.2 MB, free: 132 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.252, allocations: 0.9821 MB / 440.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004949/0.2524, allocations: 287.2 kB / 440.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005439/0.253, allocations: 346.6 kB / 440.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004891/0.2535, allocations: 346 kB / 441.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.2536, allocations: 75.94 kB / 441.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.2539, allocations: 116 kB / 441.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.254, allocations: 179.3 kB / 441.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004151/0.2544, allocations: 425.5 kB / 441.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.2557, allocations: 1.111 MB / 443 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.2557, allocations: 4 kB / 443 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2557, allocations: 0 / 443 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.912e-05/0.2557, allocations: 0 / 443 MB, free: 12.27 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.001761/0.2575, allocations: 1.108 MB / 444.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2575, allocations: 8.031 kB / 444.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.2578, allocations: 123.3 kB / 444.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009841/0.2588, allocations: 0.5473 MB / 444.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.2588, allocations: 62 kB / 444.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.259, allocations: 87.95 kB / 444.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.2603, allocations: 0.8442 MB / 445.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.2603, allocations: 7.938 kB / 445.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.2604, allocations: 36 kB / 445.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.2604, allocations: 20 kB / 445.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009151/0.2613, allocations: 475.3 kB / 446.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004087/0.2654, allocations: 4.322 MB / 450.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.266, allocations: 296.6 kB / 450.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.2662, allocations: 133.5 kB / 451 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.2663, allocations: 12.38 kB / 451.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.2664, allocations: 34.94 kB / 451.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.185e-06/0.2664, allocations: 0 / 451.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003333/0.2697, allocations: 1.6 MB / 452.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.2698, allocations: 55.91 kB / 452.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006878/0.2704, allocations: 0.5509 MB / 453.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.2705, allocations: 33.7 kB / 453.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.2708, allocations: 487.8 kB / 453.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.271, allocations: 222.1 kB / 454 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.2712, allocations: 142.6 kB / 454.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.2714, allocations: 382.8 kB / 454.5 MB, free: 248 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.2717, allocations: 161.9 kB / 454.7 MB, free: 84 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/0.2722, allocations: 451.2 kB / 455.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009347/0.2732, allocations: 0.6673 MB / 455.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.2732, allocations: 4 kB / 455.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001241/0.2744, allocations: 0.7464 MB / 456.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.2744, allocations: 10.5 kB / 456.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.2744, allocations: 15.98 kB / 456.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.2746, allocations: 48.91 kB / 456.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.2752, allocations: 183.7 kB / 456.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.2767, allocations: 1.582 MB / 458.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.277, allocations: 24 kB / 458.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/0.2771, allocations: 40 kB / 458.5 MB, free: 11.94 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.0003349/0.2774, allocations: 229.6 kB / 458.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.2775, allocations: 83.41 kB / 458.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.2777, allocations: 79.06 kB / 458.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2777, allocations: 8 kB / 458.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.2777, allocations: 0 / 458.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2777, allocations: 0 / 458.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.2798, allocations: 1.376 MB / 460.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.2798, allocations: 8 kB / 460.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.2804, allocations: 119.8 kB / 460.3 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-05/0.2804, allocations: 24.8 kB / 460.4 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.2805, allocations: 16 kB / 460.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.2815, allocations: 1.271 MB / 461.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.2815, allocations: 4 kB / 461.7 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.2827, allocations: 0.7805 MB / 462.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.2828, allocations: 67.45 kB / 462.5 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.2829, allocations: 12.09 kB / 462.5 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.2831, allocations: 19.94 kB / 462.5 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/0.2832, allocations: 47.86 kB / 462.6 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.2832, allocations: 16 kB / 462.6 MB, free: 7.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004391/0.2836, allocations: 367.1 kB / 463 MB, free: 7.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2836, allocations: 0 / 463 MB, free: 7.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006679/0.2843, allocations: 136 kB / 463.1 MB, free: 7.023 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.0001436/0.2845, allocations: 119.1 kB / 463.2 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.2855, allocations: 0.5685 MB / 463.8 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.2855, allocations: 4 kB / 463.8 MB, free: 6.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.286, allocations: 302.5 kB / 464.1 MB, free: 6.008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.2866, allocations: 99.84 kB / 464.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.2897, allocations: 1.909 MB / 466.1 MB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006872/0.2904, allocations: 0.9693 MB / 467.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.2906, allocations: 63.42 kB / 467.1 MB, free: 2.871 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2906, allocations: 3.938 kB / 467.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of Templates: time 0.01783/0.3084, allocations: 12.49 MB / 479.6 MB, free: 6.371 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: 7.543926700018346]