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.001684/0.001684, allocations: 116 kB / 18.45 MB, free: 4.562 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.002052/0.002052, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.513/1.513, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.001625/0.001625, allocations: 51.92 kB / 374.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1042, allocations: 53.32 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.2137/0.3179, allocations: 4.602 MB / 432.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.3206, allocations: 1.408 MB / 433.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004184/0.321, allocations: 33.03 kB / 433.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.3214, allocations: 181.4 kB / 433.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.3217, allocations: 167.6 kB / 433.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007652/0.3225, allocations: 378.6 kB / 434.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008546/0.3233, allocations: 0.9775 MB / 435.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/0.3237, allocations: 284.6 kB / 435.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004471/0.3242, allocations: 345.3 kB / 435.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.3245, allocations: 345.2 kB / 436.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.867e-05/0.3246, allocations: 73.09 kB / 436.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.3248, allocations: 124.1 kB / 436.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.3249, allocations: 179.6 kB / 436.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.3252, allocations: 424.4 kB / 436.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.327, allocations: 1.115 MB / 438.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.327, allocations: 1.125 kB / 438.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.327, allocations: 0 / 438.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.134e-05/0.3271, allocations: 0 / 438.1 MB, free: 6.473 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.002338/0.3294, allocations: 1.173 MB / 439.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.3294, allocations: 9.719 kB / 439.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004266/0.3299, allocations: 118.5 kB / 439.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.3313, allocations: 0.6299 MB / 440 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/0.3313, allocations: 66.56 kB / 440.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.3315, allocations: 80.66 kB / 440.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.3333, allocations: 0.8497 MB / 441 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/0.3334, allocations: 10.33 kB / 441 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-05/0.3334, allocations: 33.31 kB / 441 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.3335, allocations: 25.16 kB / 441 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.3348, allocations: 474.7 kB / 441.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00449/0.3393, allocations: 4.385 MB / 445.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.34, allocations: 276.2 kB / 446.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004018/0.3404, allocations: 129.4 kB / 446.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/0.3406, allocations: 173.7 kB / 446.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3406, allocations: 42.06 kB / 446.5 MB, free: 292 kB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 4.057e-06/0.3406, allocations: 0 / 446.5 MB, free: 292 kB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.005416/0.346, allocations: 1.751 MB / 448.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.3461, allocations: 57.84 kB / 448.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.3471, allocations: 0.5448 MB / 448.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/0.3472, allocations: 35.8 kB / 448.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/0.3477, allocations: 489.7 kB / 449.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.3479, allocations: 225.2 kB / 449.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.3482, allocations: 140.1 kB / 449.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002766/0.3485, allocations: 382 kB / 450.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.349, allocations: 163.7 kB / 450.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/0.3497, allocations: 461.5 kB / 450.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.351, allocations: 0.6635 MB / 451.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.351, allocations: 6.797 kB / 451.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001661/0.3527, allocations: 0.7401 MB / 452.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.3527, allocations: 9.438 kB / 452.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.3527, allocations: 9.188 kB / 452.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.353, allocations: 50.55 kB / 452.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/0.3538, allocations: 174.3 kB / 452.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.3561, allocations: 1.693 MB / 454.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.3567, allocations: 29.02 kB / 454.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.3e-05/0.3568, allocations: 44.22 kB / 454.1 MB, free: 10.8 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.0004675/0.3572, allocations: 225.4 kB / 454.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.3574, allocations: 77 kB / 454.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.3576, allocations: 79.27 kB / 454.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.3576, allocations: 4.906 kB / 454.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.3576, allocations: 1.438 kB / 454.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.3576, allocations: 3.422 kB / 454.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/0.3601, allocations: 1.422 MB / 455.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.3601, allocations: 3.688 kB / 455.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/0.3606, allocations: 117.3 kB / 456 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.251e-05/0.3606, allocations: 24.08 kB / 456.1 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/0.3607, allocations: 18.09 kB / 456.1 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.3618, allocations: 1.379 MB / 457.5 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.3618, allocations: 6.688 kB / 457.5 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.3629, allocations: 0.7776 MB / 458.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.3631, allocations: 145.5 kB / 458.4 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/0.3632, allocations: 15.16 kB / 458.4 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.3634, allocations: 10.42 kB / 458.4 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/0.3635, allocations: 52.09 kB / 458.5 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.3635, allocations: 18.88 kB / 458.5 MB, free: 7.547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004424/0.3639, allocations: 360.9 kB / 458.8 MB, free: 7.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3639, allocations: 0 / 458.8 MB, free: 7.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007033/0.3646, allocations: 142 kB / 459 MB, free: 7.363 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.0001561/0.3648, allocations: 121.3 kB / 459.1 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.3658, allocations: 0.5632 MB / 459.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3658, allocations: 0 / 459.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.3663, allocations: 298.4 kB / 459.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/0.3669, allocations: 98.47 kB / 460 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.3702, allocations: 1.909 MB / 462 MB, free: 5.496 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/0.3709, allocations: 0.9683 MB / 462.9 MB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.3711, allocations: 64.23 kB / 463 MB, free: 4.77 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3711, allocations: 1.094 kB / 463 MB, free: 4.77 MB / 366.1 MB Notification: Performance of Templates: time 0.02045/0.3915, allocations: 12.49 MB / 475.5 MB, free: 14.65 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.247482567996485]