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.001095/0.001095, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002524, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001206/0.001206, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004602/0.005808, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9999/0.9999, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08172/1.082, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.563e-06/1.563e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.266e-05, allocations: 6.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005422/0.005445, allocations: 4.387 MB / 248.9 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.008312, allocations: 1.441 MB / 250.4 MB, free: 8.469 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005681/0.00888, allocations: 31.69 kB / 250.4 MB, free: 8.438 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.009214, allocations: 178.1 kB / 250.6 MB, free: 8.262 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.009551, allocations: 190.1 kB / 250.7 MB, free: 8.074 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005707/0.01012, allocations: 383.3 kB / 251.1 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008348/0.01096, allocations: 0.9817 MB / 252.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/0.0113, allocations: 279.4 kB / 252.4 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005418/0.01185, allocations: 0.5378 MB / 252.9 MB, free: 5.871 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.01208, allocations: 239.1 kB / 253.1 MB, free: 5.637 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.719e-05/0.01214, allocations: 72 kB / 253.2 MB, free: 5.566 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.01233, allocations: 123.8 kB / 253.3 MB, free: 5.445 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.113e-05/0.01241, allocations: 139.4 kB / 253.5 MB, free: 5.309 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.01256, allocations: 219.4 kB / 253.7 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.01313, allocations: 0.6417 MB / 254.3 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-05/0.01314, allocations: 0 / 254.3 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01314, allocations: 4 kB / 254.3 MB, free: 4.445 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.01316, allocations: 4 kB / 254.3 MB, free: 4.441 MB / 250.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.00107/0.01423, allocations: 1.255 MB / 255.6 MB, free: 3.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.01426, allocations: 11.98 kB / 255.6 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.01447, allocations: 220.9 kB / 255.8 MB, free: 2.914 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.01501, allocations: 0.4889 MB / 256.3 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.01505, allocations: 62 kB / 256.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.438e-05/0.01511, allocations: 83.89 kB / 256.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.01568, allocations: 0.7042 MB / 257.2 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.01571, allocations: 11.92 kB / 257.2 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.01574, allocations: 43.94 kB / 257.2 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.01575, allocations: 20 kB / 257.2 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.01605, allocations: 265.4 kB / 257.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.01799, allocations: 3.741 MB / 261.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.01823, allocations: 188.1 kB / 261.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.01829, allocations: 73.31 kB / 261.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7e-05/0.01836, allocations: 17.12 kB / 261.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.01838, allocations: 42.55 kB / 261.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.645e-06/0.01839, allocations: 0 / 261.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.001509/0.0199, allocations: 1.16 MB / 262.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.01992, allocations: 59.91 kB / 262.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.0202, allocations: 0.5115 MB / 263.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.02022, allocations: 37.7 kB / 263.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.02037, allocations: 416.9 kB / 263.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.195e-05/0.02046, allocations: 218.1 kB / 263.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.02057, allocations: 150.5 kB / 264.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.02068, allocations: 386.6 kB / 264.5 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.935e-05/0.02078, allocations: 61.97 kB / 264.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.02097, allocations: 375.2 kB / 264.9 MB, free: 9.289 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.0213, allocations: 0.5079 MB / 265.4 MB, free: 8.648 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.02131, allocations: 7.938 kB / 265.4 MB, free: 8.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.000448/0.02175, allocations: 491.4 kB / 265.9 MB, free: 8.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.02177, allocations: 8 kB / 265.9 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.02178, allocations: 8 kB / 265.9 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000102/0.02188, allocations: 40.78 kB / 265.9 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.02224, allocations: 222.3 kB / 266.1 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007526/0.02299, allocations: 1.41 MB / 267.6 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.02314, allocations: 24 kB / 267.6 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.02317, allocations: 35.94 kB / 267.6 MB, free: 6.328 MB / 266.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.0001193/0.02329, allocations: 161.5 kB / 267.8 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.02334, allocations: 59.94 kB / 267.8 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.36e-05/0.0234, allocations: 79.06 kB / 267.9 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.02341, allocations: 8 kB / 267.9 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.02341, allocations: 0 / 267.9 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.02341, allocations: 32 / 267.9 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007798/0.02419, allocations: 0.8194 MB / 268.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.0242, allocations: 0 / 268.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.02448, allocations: 139.7 kB / 268.9 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.02467, allocations: 71.55 kB / 268.9 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.125e-05/0.02474, allocations: 20.8 kB / 269 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.02476, allocations: 20.12 kB / 269 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004721/0.02524, allocations: 1.154 MB / 270.1 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.02524, allocations: 7.938 kB / 270.1 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.02563, allocations: 0.5166 MB / 270.7 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.02568, allocations: 12 kB / 270.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.02578, allocations: 16 kB / 270.7 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.02583, allocations: 47.8 kB / 270.7 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.02584, allocations: 12 kB / 270.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001426/0.02598, allocations: 228.6 kB / 271 MB, free: 2.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02598, allocations: 0 / 271 MB, free: 2.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003542/0.02634, allocations: 140 kB / 271.1 MB, free: 2.613 MB / 266.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.0001007/0.02644, allocations: 96.34 kB / 271.2 MB, free: 2.512 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004159/0.02686, allocations: 459.3 kB / 271.7 MB, free: 2.055 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.197e-05/0.02688, allocations: 16.44 kB / 271.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.02704, allocations: 253.7 kB / 271.9 MB, free: 1.777 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.02738, allocations: 147.3 kB / 272.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.02983, allocations: 1.431 MB / 273.5 MB, free: 132 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.02995, allocations: 167.2 kB / 273.7 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001693/0.03012, allocations: 82.02 kB / 273.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.0303, allocations: 171.3 kB / 273.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.0303, allocations: 4 kB / 273.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of Templates: time 0.009847/0.04014, allocations: 6.053 MB / 280 MB, free: 9.766 MB / 282.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6652715438976884]