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.001748/0.001748, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00217/0.00217, allocations: 211 kB / 24.48 MB, free: 3.938 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.569/1.569, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001679/0.001679, allocations: 51.92 kB / 379 MB, free: 2.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2315, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006008/0.2375, allocations: 4.109 MB / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.2401, allocations: 1.36 MB / 437.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003362/0.2404, allocations: 35.69 kB / 437.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003962/0.2408, allocations: 186.2 kB / 438 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.2412, allocations: 162.3 kB / 438.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007623/0.2419, allocations: 383.5 kB / 438.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.243, allocations: 0.9743 MB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004571/0.2434, allocations: 263.5 kB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.2439, allocations: 350.5 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.2442, allocations: 302 kB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.2443, allocations: 75.94 kB / 440.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.2445, allocations: 123.9 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.2447, allocations: 171.3 kB / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.245, allocations: 334.2 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.2461, allocations: 1.133 MB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2461, allocations: 0 / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2461, allocations: 0 / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.2461, allocations: 0 / 442.2 MB, free: 12.79 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.001575/0.2477, allocations: 1.097 MB / 443.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2478, allocations: 8.031 kB / 443.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.248, allocations: 123.3 kB / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.249, allocations: 0.5473 MB / 444 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/0.2491, allocations: 69.94 kB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.2492, allocations: 83.95 kB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.2505, allocations: 0.8481 MB / 445 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.2505, allocations: 4 kB / 445 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/0.2506, allocations: 43.98 kB / 445.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.2506, allocations: 20 kB / 445.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008978/0.2515, allocations: 471.2 kB / 445.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.2553, allocations: 4.089 MB / 449.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005826/0.2559, allocations: 289.3 kB / 449.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.2561, allocations: 125.6 kB / 450 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.2562, allocations: 20.36 kB / 450 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.2562, allocations: 38.94 kB / 450.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.014e-06/0.2562, allocations: 0 / 450.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003298/0.2595, allocations: 1.588 MB / 451.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.2596, allocations: 63.89 kB / 451.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006233/0.2602, allocations: 0.5508 MB / 452.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.2602, allocations: 33.7 kB / 452.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.2606, allocations: 0.4919 MB / 452.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.2608, allocations: 214.2 kB / 453 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.261, allocations: 138.6 kB / 453.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.2611, allocations: 386.6 kB / 453.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.2614, allocations: 165.9 kB / 453.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/0.262, allocations: 455.2 kB / 454.1 MB, free: 272 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008982/0.2629, allocations: 0.6673 MB / 454.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.2629, allocations: 4 kB / 454.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00119/0.264, allocations: 0.7466 MB / 455.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.2641, allocations: 8 kB / 455.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.2641, allocations: 12 kB / 455.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/0.2643, allocations: 48.91 kB / 455.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.2648, allocations: 183.7 kB / 455.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.2662, allocations: 1.543 MB / 457.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.2665, allocations: 31.98 kB / 457.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.2665, allocations: 44.03 kB / 457.4 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.0003049/0.2668, allocations: 229.5 kB / 457.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-05/0.2669, allocations: 71.53 kB / 457.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.2671, allocations: 79.08 kB / 457.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.2671, allocations: 11.97 kB / 457.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2671, allocations: 0 / 457.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.2671, allocations: 11.92 kB / 457.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.269, allocations: 1.178 MB / 459 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.269, allocations: 4.062 kB / 459 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.2694, allocations: 115.9 kB / 459.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.966e-05/0.2695, allocations: 24.84 kB / 459.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.2696, allocations: 16.34 kB / 459.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009856/0.2705, allocations: 1.248 MB / 460.4 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2705, allocations: 0 / 460.4 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.2716, allocations: 0.7764 MB / 461.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.2717, allocations: 67.62 kB / 461.2 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.2718, allocations: 20 kB / 461.3 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.272, allocations: 12 kB / 461.3 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.2721, allocations: 47.89 kB / 461.3 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.2721, allocations: 16 kB / 461.3 MB, free: 8.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004048/0.2725, allocations: 367.1 kB / 461.7 MB, free: 8.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2725, allocations: 0 / 461.7 MB, free: 8.223 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006316/0.2731, allocations: 140 kB / 461.8 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.0001428/0.2733, allocations: 123.1 kB / 462 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009718/0.2743, allocations: 0.5686 MB / 462.5 MB, free: 7.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2743, allocations: 0 / 462.5 MB, free: 7.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.2747, allocations: 298.5 kB / 462.8 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.0006087/0.2753, allocations: 113.1 kB / 462.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.2781, allocations: 1.911 MB / 464.8 MB, free: 4.984 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.2785, allocations: 378.3 kB / 465.2 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.2787, allocations: 67.36 kB / 465.3 MB, free: 4.523 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2787, allocations: 0 / 465.3 MB, free: 4.523 MB / 366.1 MB Notification: Performance of Templates: time 0.01651/0.2952, allocations: 12.8 MB / 478.1 MB, free: 7.719 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.411524238996208]