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.00087/0.00087, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.0047/0.0047, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8706/0.8706, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.904e-06/1.904e-06, allocations: 0 / 325.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.111e-05, allocations: 2.844 kB / 325.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005174/0.005205, allocations: 4.122 MB / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.008166, allocations: 1.368 MB / 331.3 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007548/0.00892, allocations: 27.75 kB / 331.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007798/0.0097, allocations: 186.2 kB / 331.5 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006264/0.01033, allocations: 178.1 kB / 331.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.01141, allocations: 379.3 kB / 332 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.01264, allocations: 0.9973 MB / 333 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005775/0.01322, allocations: 271.4 kB / 333.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008535/0.01408, allocations: 498.9 kB / 333.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.01441, allocations: 239.1 kB / 334 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.01453, allocations: 75.94 kB / 334.1 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.01477, allocations: 119.9 kB / 334.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.0149, allocations: 175.2 kB / 334.4 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.01518, allocations: 267.2 kB / 334.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.01647, allocations: 1.101 MB / 335.7 MB, free: 5.242 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.01647, allocations: 0 / 335.7 MB, free: 5.242 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.01647, allocations: 0 / 335.7 MB, free: 5.242 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.803e-05/0.0165, allocations: 0 / 335.7 MB, free: 5.242 MB / 298.7 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.001809/0.01831, allocations: 1.081 MB / 336.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.01836, allocations: 8.031 kB / 336.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003278/0.01869, allocations: 123.3 kB / 336.9 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.01976, allocations: 0.5473 MB / 337.5 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/0.01981, allocations: 58 kB / 337.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.01994, allocations: 83.95 kB / 337.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.02134, allocations: 0.8521 MB / 338.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003304/0.02168, allocations: 11.98 kB / 338.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/0.02174, allocations: 35.94 kB / 338.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.02176, allocations: 20 kB / 338.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009567/0.02271, allocations: 475.2 kB / 339 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/0.02636, allocations: 4.081 MB / 343.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006066/0.02697, allocations: 292.3 kB / 343.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.0272, allocations: 129.6 kB / 343.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.02735, allocations: 20.36 kB / 343.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.02738, allocations: 30.94 kB / 343.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.605e-06/0.02738, allocations: 0 / 343.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.003529/0.03091, allocations: 1.607 MB / 345.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.03096, allocations: 59.84 kB / 345.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/0.03194, allocations: 0.5509 MB / 345.8 MB, free: 10.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.03197, allocations: 29.7 kB / 345.8 MB, free: 10.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.03227, allocations: 499.7 kB / 346.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.03242, allocations: 218.1 kB / 346.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.03258, allocations: 138.6 kB / 346.6 MB, free: 9.871 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.03273, allocations: 382.7 kB / 347 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.03313, allocations: 165.9 kB / 347.2 MB, free: 9.324 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.03347, allocations: 455.3 kB / 347.6 MB, free: 8.746 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.03402, allocations: 0.6721 MB / 348.3 MB, free: 7.941 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.03402, allocations: 0 / 348.3 MB, free: 7.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0007809/0.03481, allocations: 0.7477 MB / 349 MB, free: 7.184 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.03483, allocations: 8 kB / 349 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.03484, allocations: 8 kB / 349 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.035, allocations: 52.78 kB / 349.1 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.03534, allocations: 183.8 kB / 349.3 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000933/0.03627, allocations: 1.548 MB / 350.8 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.03645, allocations: 27.94 kB / 350.8 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.03648, allocations: 40 kB / 350.9 MB, free: 5.223 MB / 314.7 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.0002501/0.03673, allocations: 229.5 kB / 351.1 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.03678, allocations: 75.56 kB / 351.2 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.968e-05/0.03685, allocations: 79.06 kB / 351.3 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.03686, allocations: 8 kB / 351.3 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.03686, allocations: 4.062 kB / 351.3 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.03687, allocations: 7.922 kB / 351.3 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.038, allocations: 1.168 MB / 352.4 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.038, allocations: 4.344 kB / 352.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.03825, allocations: 123.9 kB / 352.6 MB, free: 3.449 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-05/0.03831, allocations: 28.84 kB / 352.6 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.03833, allocations: 19.94 kB / 352.6 MB, free: 3.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008017/0.03913, allocations: 1.233 MB / 353.9 MB, free: 2.059 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.03913, allocations: 7.938 kB / 353.9 MB, free: 2.051 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006459/0.03978, allocations: 0.7809 MB / 354.6 MB, free: 1.215 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.03982, allocations: 63.48 kB / 354.7 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.03985, allocations: 15.98 kB / 354.7 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.03996, allocations: 19.94 kB / 354.7 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.04001, allocations: 43.91 kB / 354.8 MB, free: 1.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.04003, allocations: 19.98 kB / 354.8 MB, free: 1.055 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002378/0.04027, allocations: 363.1 kB / 355.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04027, allocations: 0 / 355.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003992/0.04067, allocations: 140.2 kB / 355.3 MB, free: 0.5664 MB / 314.7 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.0001182/0.04078, allocations: 115.2 kB / 355.4 MB, free: 452 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006236/0.04141, allocations: 0.5639 MB / 356 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.04141, allocations: 0 / 356 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.04164, allocations: 300.6 kB / 356.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.04204, allocations: 105.8 kB / 356.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.04362, allocations: 1.689 MB / 358.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.04384, allocations: 374.3 kB / 358.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-05/0.04394, allocations: 68.47 kB / 358.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.04394, allocations: 0 / 358.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of Templates: time 0.009678/0.05362, allocations: 12.81 MB / 371.3 MB, free: 440 kB / 330.7 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.851580557413399]