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.0008251/0.0008251, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003207/0.003207, allocations: 163.2 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.851/0.851, allocations: 177.2 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.373e-06/1.373e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.074e-05, allocations: 4.953 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.003485/0.003506, allocations: 4.133 MB / 330 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.004962, allocations: 1.364 MB / 331.3 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.005167, allocations: 35.69 kB / 331.3 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.00542, allocations: 182.2 kB / 331.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.005629, allocations: 174.2 kB / 331.7 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.006122, allocations: 379.3 kB / 332.1 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.006699, allocations: 0.9973 MB / 333.1 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.007003, allocations: 267.4 kB / 333.3 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.007388, allocations: 0.5028 MB / 333.8 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.00758, allocations: 231.1 kB / 334.1 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.007639, allocations: 72 kB / 334.1 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.007769, allocations: 123.8 kB / 334.2 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.007847, allocations: 175.2 kB / 334.4 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.007994, allocations: 259.3 kB / 334.7 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006988/0.008693, allocations: 1.101 MB / 335.8 MB, free: 5.418 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.008696, allocations: 0 / 335.8 MB, free: 5.418 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.008697, allocations: 0 / 335.8 MB, free: 5.418 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.008705, allocations: 4 kB / 335.8 MB, free: 5.414 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.000947/0.009652, allocations: 1.092 MB / 336.9 MB, free: 4.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.009684, allocations: 8.031 kB / 336.9 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.009846, allocations: 119.3 kB / 337 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.01045, allocations: 0.5551 MB / 337.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.539e-05/0.01049, allocations: 58 kB / 337.6 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.01057, allocations: 83.95 kB / 337.7 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/0.01134, allocations: 0.8443 MB / 338.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.01137, allocations: 7.938 kB / 338.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.01141, allocations: 43.94 kB / 338.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.01142, allocations: 24 kB / 338.6 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005359/0.01196, allocations: 467.3 kB / 339.1 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.01405, allocations: 4.077 MB / 343.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.0144, allocations: 283.9 kB / 343.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.01454, allocations: 133.5 kB / 343.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.39e-05/0.01463, allocations: 16.36 kB / 343.6 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.01466, allocations: 38.94 kB / 343.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 1.263e-06/0.01466, allocations: 0 / 343.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001957/0.01662, allocations: 1.605 MB / 345.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.01665, allocations: 59.91 kB / 345.3 MB, free: 11.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.01703, allocations: 0.547 MB / 345.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.01705, allocations: 37.7 kB / 345.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.01724, allocations: 491.7 kB / 346.3 MB, free: 10.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.649e-05/0.01734, allocations: 226.1 kB / 346.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.01744, allocations: 134.6 kB / 346.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.01756, allocations: 390.6 kB / 347.1 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.01773, allocations: 161.9 kB / 347.2 MB, free: 9.492 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.01802, allocations: 459.3 kB / 347.7 MB, free: 8.914 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.01854, allocations: 0.6644 MB / 348.3 MB, free: 8.113 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.01854, allocations: 4 kB / 348.3 MB, free: 8.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0006687/0.01921, allocations: 0.7436 MB / 349.1 MB, free: 7.359 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.01923, allocations: 12 kB / 349.1 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.01924, allocations: 8 kB / 349.1 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001195/0.01935, allocations: 49.5 kB / 349.1 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.01966, allocations: 187.7 kB / 349.3 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008469/0.02051, allocations: 1.547 MB / 350.9 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.02065, allocations: 31.94 kB / 350.9 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.02068, allocations: 32 kB / 350.9 MB, free: 5.398 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.0001883/0.02087, allocations: 233.6 kB / 351.2 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.02092, allocations: 75.72 kB / 351.2 MB, free: 5.086 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.439e-05/0.02098, allocations: 71.08 kB / 351.3 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.02099, allocations: 8.062 kB / 351.3 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.02099, allocations: 8 kB / 351.3 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.021, allocations: 7.922 kB / 351.3 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.02207, allocations: 1.182 MB / 352.5 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.02207, allocations: 0 / 352.5 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.02232, allocations: 115.8 kB / 352.6 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.876e-05/0.02237, allocations: 28.84 kB / 352.7 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.02239, allocations: 15.94 kB / 352.7 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005233/0.02291, allocations: 1.241 MB / 353.9 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.02291, allocations: 8.219 kB / 353.9 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.02355, allocations: 0.7728 MB / 354.7 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.0236, allocations: 71.47 kB / 354.8 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.02363, allocations: 16.09 kB / 354.8 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.02373, allocations: 11.94 kB / 354.8 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.02378, allocations: 47.86 kB / 354.8 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.0238, allocations: 20 kB / 354.9 MB, free: 1.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002365/0.02404, allocations: 359.1 kB / 355.2 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02404, allocations: 0 / 355.2 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003635/0.0244, allocations: 148 kB / 355.4 MB, free: 0.7383 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.000105/0.0245, allocations: 115.1 kB / 355.5 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005966/0.0251, allocations: 0.565 MB / 356 MB, free: 40 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.0251, allocations: 0 / 356 MB, free: 40 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.02534, allocations: 307.2 kB / 356.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.02573, allocations: 103.2 kB / 356.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.02731, allocations: 1.686 MB / 358.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.02753, allocations: 378.3 kB / 358.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.515e-05/0.02762, allocations: 64.48 kB / 358.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02762, allocations: 0 / 358.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of Templates: time 0.009311/0.03693, allocations: 12.81 MB / 371.4 MB, free: 0.6016 MB / 330.7 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/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_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: 4.998700146563351]