Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001829/0.001829, allocations: 105.2 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002563/0.002563, allocations: 216.2 kB / 23 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 63.89 kB / 376.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2421, allocations: 53.33 MB / 429.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006568/0.2487, allocations: 4.614 MB / 434.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003456/0.2522, allocations: 1.419 MB / 435.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.2528, allocations: 27.81 kB / 435.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005229/0.2533, allocations: 178.2 kB / 436 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.2537, allocations: 166.3 kB / 436.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.2547, allocations: 387.3 kB / 436.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.256, allocations: 0.9781 MB / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005778/0.2565, allocations: 287 kB / 437.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.2571, allocations: 338.6 kB / 438.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.2575, allocations: 346 kB / 438.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.64e-05/0.2576, allocations: 72 kB / 438.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.2578, allocations: 124 kB / 438.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.258, allocations: 175.3 kB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003981/0.2584, allocations: 425.5 kB / 439.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.2597, allocations: 1.117 MB / 440.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2597, allocations: 0 / 440.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2597, allocations: 0 / 440.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.076e-05/0.2598, allocations: 0 / 440.4 MB, free: 12.92 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.001801/0.2616, allocations: 1.176 MB / 441.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.2616, allocations: 8.031 kB / 441.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.2619, allocations: 119.3 kB / 441.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.2629, allocations: 0.6389 MB / 442.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.263, allocations: 58 kB / 442.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.2631, allocations: 83.95 kB / 442.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.2645, allocations: 0.8403 MB / 443.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.2645, allocations: 7.938 kB / 443.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.373e-05/0.2646, allocations: 40 kB / 443.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.2646, allocations: 20 kB / 443.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009063/0.2655, allocations: 471.3 kB / 443.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004388/0.2699, allocations: 4.389 MB / 448.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.2705, allocations: 286.2 kB / 448.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.2707, allocations: 133.6 kB / 448.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.2709, allocations: 166.6 kB / 448.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.271, allocations: 42.94 kB / 448.8 MB, free: 4.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 3.156e-06/0.271, allocations: 0 / 448.8 MB, free: 4.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.00347/0.2745, allocations: 1.751 MB / 450.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.2745, allocations: 67.91 kB / 450.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006279/0.2751, allocations: 0.543 MB / 451.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.2752, allocations: 37.7 kB / 451.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.2755, allocations: 483.8 kB / 451.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.2757, allocations: 226.1 kB / 451.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.2759, allocations: 138.6 kB / 452.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.2761, allocations: 382.8 kB / 452.4 MB, free: 280 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.2764, allocations: 169.9 kB / 452.6 MB, free: 112 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/0.2769, allocations: 451.2 kB / 453 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008627/0.2778, allocations: 0.6634 MB / 453.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.2778, allocations: 4 kB / 453.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001212/0.279, allocations: 0.7422 MB / 454.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.279, allocations: 12 kB / 454.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.2791, allocations: 8 kB / 454.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.2793, allocations: 40.84 kB / 454.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.2799, allocations: 188.3 kB / 454.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.2814, allocations: 1.689 MB / 456.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.2817, allocations: 32.06 kB / 456.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.2818, allocations: 36 kB / 456.4 MB, free: 11.84 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.0003152/0.2821, allocations: 233.6 kB / 456.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.861e-05/0.2822, allocations: 75.47 kB / 456.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.2823, allocations: 75.08 kB / 456.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2823, allocations: 4 kB / 456.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2824, allocations: 0 / 456.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.2824, allocations: 7.984 kB / 456.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.2845, allocations: 1.413 MB / 458.2 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.2845, allocations: 4 kB / 458.3 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.285, allocations: 115.8 kB / 458.4 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.744e-05/0.2851, allocations: 28.78 kB / 458.4 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.2851, allocations: 16.34 kB / 458.4 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.2862, allocations: 1.379 MB / 459.8 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2862, allocations: 0 / 459.8 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.2873, allocations: 0.7817 MB / 460.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.2874, allocations: 144.6 kB / 460.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.2875, allocations: 16 kB / 460.7 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.2877, allocations: 20 kB / 460.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2878, allocations: 39.89 kB / 460.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.2878, allocations: 12 kB / 460.8 MB, free: 7.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004244/0.2882, allocations: 367.1 kB / 461.2 MB, free: 6.801 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2882, allocations: 0 / 461.2 MB, free: 6.801 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006485/0.2889, allocations: 140.2 kB / 461.3 MB, free: 6.664 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.0001471/0.289, allocations: 119.2 kB / 461.4 MB, free: 6.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.29, allocations: 0.5796 MB / 462 MB, free: 5.949 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.29, allocations: 0 / 462 MB, free: 5.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004088/0.2905, allocations: 292.2 kB / 462.3 MB, free: 5.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006017/0.2911, allocations: 99.19 kB / 462.4 MB, free: 5.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.294, allocations: 1.891 MB / 464.3 MB, free: 3.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.2946, allocations: 0.9613 MB / 465.2 MB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002707/0.2949, allocations: 86.02 kB / 465.3 MB, free: 2.516 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.295, allocations: 59.42 kB / 465.4 MB, free: 2.457 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.295, allocations: 4 kB / 465.4 MB, free: 2.453 MB / 366.1 MB Notification: Performance of Templates: time 0.01262/0.3076, allocations: 5.682 MB / 471.1 MB, free: 12.8 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.6216981476172805]