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.001687/0.001687, allocations: 89.14 kB / 20.68 MB, free: 1.023 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.001999/0.001999, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.461/1.461, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.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 2.214e-06/2.214e-06, allocations: 0.8906 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.806e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005902/0.00593, allocations: 4.12 MB / 329.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.009215, allocations: 1.372 MB / 330.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007916/0.01001, allocations: 33.28 kB / 330.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006542/0.01066, allocations: 179.4 kB / 330.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008115/0.01147, allocations: 175 kB / 330.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.01273, allocations: 384.5 kB / 331.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.01427, allocations: 1.003 MB / 332.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005094/0.01478, allocations: 268.2 kB / 332.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/0.01549, allocations: 0.4888 MB / 333 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/0.01583, allocations: 236.5 kB / 333.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.01594, allocations: 76.19 kB / 333.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002561/0.0162, allocations: 120.8 kB / 333.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.01637, allocations: 176.8 kB / 333.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003048/0.01668, allocations: 260.6 kB / 333.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.01795, allocations: 1.098 MB / 334.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.01795, allocations: 1.156 kB / 335 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01796, allocations: 0 / 335 MB, free: 9.805 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.01797, allocations: 0 / 335 MB, free: 9.805 MB / 302.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.001709/0.01968, allocations: 1.089 MB / 336 MB, free: 8.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.01972, allocations: 9.75 kB / 336 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.02, allocations: 116.6 kB / 336.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.02104, allocations: 0.5578 MB / 336.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.093e-05/0.0211, allocations: 57.53 kB / 336.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.02121, allocations: 84.2 kB / 336.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.02265, allocations: 0.8452 MB / 337.7 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.146e-05/0.02269, allocations: 8.125 kB / 337.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/0.02277, allocations: 41.83 kB / 337.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.02279, allocations: 20.72 kB / 337.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009646/0.02375, allocations: 471.3 kB / 338.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/0.02795, allocations: 4.087 MB / 342.3 MB, free: 3.363 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.02858, allocations: 288.3 kB / 342.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.02883, allocations: 129.6 kB / 342.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.02895, allocations: 16.36 kB / 342.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.02899, allocations: 42.88 kB / 342.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 2.174e-06/0.02899, allocations: 0 / 342.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=57): time 0.003537/0.03253, allocations: 1.6 MB / 344.4 MB, free: 1.223 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.03258, allocations: 59.91 kB / 344.4 MB, free: 1.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006483/0.03323, allocations: 0.547 MB / 345 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.03326, allocations: 37.7 kB / 345 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/0.03362, allocations: 495.6 kB / 345.5 MB, free: 64 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.03382, allocations: 226.3 kB / 345.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.034, allocations: 130.6 kB / 345.9 MB, free: 15.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.0342, allocations: 386.5 kB / 346.2 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/0.03451, allocations: 161.9 kB / 346.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005407/0.03505, allocations: 459.3 kB / 346.8 MB, free: 14.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009185/0.03597, allocations: 0.6683 MB / 347.5 MB, free: 13.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.03598, allocations: 4 kB / 347.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001227/0.0372, allocations: 0.74 MB / 348.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.03723, allocations: 8 kB / 348.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.03724, allocations: 15.94 kB / 348.3 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.03741, allocations: 44.84 kB / 348.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/0.03801, allocations: 183.7 kB / 348.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.03969, allocations: 1.559 MB / 350.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.04005, allocations: 28 kB / 350.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.0401, allocations: 32 kB / 350.1 MB, free: 11.06 MB / 318.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.0003523/0.04045, allocations: 229.6 kB / 350.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.04056, allocations: 75.53 kB / 350.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.04069, allocations: 79.05 kB / 350.5 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.0407, allocations: 7.984 kB / 350.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.04071, allocations: 4 kB / 350.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.04072, allocations: 11.98 kB / 350.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.04267, allocations: 1.176 MB / 351.7 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.04267, allocations: 0 / 351.7 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000507/0.04318, allocations: 120.2 kB / 351.8 MB, free: 9.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.764e-05/0.04328, allocations: 28.86 kB / 351.8 MB, free: 9.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.04333, allocations: 20.05 kB / 351.9 MB, free: 9.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.04442, allocations: 1.241 MB / 353.1 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.04443, allocations: 4 kB / 353.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.0457, allocations: 0.7769 MB / 353.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.04583, allocations: 67.48 kB / 353.9 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.04589, allocations: 23.92 kB / 354 MB, free: 6.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.04611, allocations: 8 kB / 354 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.04622, allocations: 43.88 kB / 354 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.04626, allocations: 23.98 kB / 354 MB, free: 6.883 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004618/0.04672, allocations: 355.1 kB / 354.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04672, allocations: 0 / 354.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007461/0.04746, allocations: 144 kB / 354.5 MB, free: 6.398 MB / 318.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.0001881/0.04765, allocations: 123.2 kB / 354.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.04873, allocations: 0.5565 MB / 355.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.04873, allocations: 192 / 355.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004342/0.04916, allocations: 292.1 kB / 355.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006345/0.0498, allocations: 111.2 kB / 355.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.05264, allocations: 1.653 MB / 357.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.05305, allocations: 370.3 kB / 357.6 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002368/0.05329, allocations: 94 kB / 357.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.05341, allocations: 60.48 kB / 357.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.05341, allocations: 0 / 357.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of Templates: time 0.01243/0.06584, allocations: 5.216 MB / 363 MB, free: 13.93 MB / 334.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.478099852800369]