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.001195/0.001195, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001865/0.003061, allocations: 449.8 kB / 10.44 MB, free: 248 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.001009/0.001009, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.00203, allocations: 479.5 kB / 11.82 MB, free: 2.34 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.9933/0.9933, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08599/1.079, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.302e-06/1.302e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.726e-05, allocations: 9.688 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004587/0.004604, allocations: 4.38 MB / 249.1 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.007139, allocations: 1.445 MB / 250.5 MB, free: 8.371 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002591/0.007398, allocations: 35.69 kB / 250.6 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.007629, allocations: 182.2 kB / 250.7 MB, free: 8.156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.007875, allocations: 193.9 kB / 250.9 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.008349, allocations: 379.3 kB / 251.3 MB, free: 7.594 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006797/0.009029, allocations: 0.9856 MB / 252.3 MB, free: 6.605 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/0.009331, allocations: 287.4 kB / 252.6 MB, free: 6.297 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004774/0.009809, allocations: 0.5222 MB / 253.1 MB, free: 5.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.01002, allocations: 235.1 kB / 253.3 MB, free: 5.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.453e-05/0.01009, allocations: 75.94 kB / 253.4 MB, free: 5.469 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.01025, allocations: 123.9 kB / 253.5 MB, free: 5.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.01033, allocations: 143.4 kB / 253.7 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.01048, allocations: 223.4 kB / 253.9 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005271/0.01101, allocations: 0.6378 MB / 254.5 MB, free: 4.348 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.01102, allocations: 0 / 254.5 MB, free: 4.348 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01102, allocations: 0 / 254.5 MB, free: 4.348 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.01103, allocations: 0 / 254.5 MB, free: 4.348 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.0009722/0.012, allocations: 1.259 MB / 255.8 MB, free: 3.062 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.01204, allocations: 11.98 kB / 255.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.01225, allocations: 221 kB / 256 MB, free: 2.816 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.0128, allocations: 0.4927 MB / 256.5 MB, free: 2.297 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.01283, allocations: 62 kB / 256.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.0129, allocations: 79.95 kB / 256.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.01347, allocations: 0.7081 MB / 257.3 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.01349, allocations: 7.938 kB / 257.3 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.01353, allocations: 39.92 kB / 257.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.01354, allocations: 28 kB / 257.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.01383, allocations: 265.4 kB / 257.7 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.01573, allocations: 3.741 MB / 261.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.01596, allocations: 192.2 kB / 261.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.527e-05/0.01603, allocations: 69.34 kB / 261.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.545e-05/0.01609, allocations: 16.36 kB / 261.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.01611, allocations: 42.88 kB / 261.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.403e-06/0.01611, allocations: 0 / 261.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.001543/0.01766, allocations: 1.185 MB / 262.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.01768, allocations: 59.91 kB / 263 MB, free: 11.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.01795, allocations: 0.5076 MB / 263.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.01797, allocations: 33.7 kB / 263.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.01813, allocations: 424.9 kB / 263.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.34e-05/0.01822, allocations: 218.1 kB / 264.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.01834, allocations: 146.5 kB / 264.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.01845, allocations: 390.6 kB / 264.7 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.275e-05/0.01851, allocations: 61.97 kB / 264.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.0187, allocations: 375.2 kB / 265.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.01904, allocations: 0.5392 MB / 265.6 MB, free: 8.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.01904, allocations: 3.938 kB / 265.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0004196/0.01946, allocations: 487.4 kB / 266.1 MB, free: 7.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01948, allocations: 12 kB / 266.1 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.01949, allocations: 8 kB / 266.1 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.826e-05/0.01959, allocations: 44.91 kB / 266.2 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.01995, allocations: 218.6 kB / 266.4 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006788/0.02062, allocations: 1.406 MB / 267.8 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.02077, allocations: 28 kB / 267.8 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.0208, allocations: 31.94 kB / 267.9 MB, free: 6.172 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.0001194/0.02092, allocations: 161.6 kB / 268 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.02097, allocations: 63.94 kB / 268.1 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.02103, allocations: 71.08 kB / 268.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.02104, allocations: 4 kB / 268.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.02104, allocations: 4 kB / 268.2 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.02105, allocations: 3.984 kB / 268.2 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007528/0.0218, allocations: 0.8193 MB / 269 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.0218, allocations: 8 kB / 269 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.02208, allocations: 143.7 kB / 269.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.02212, allocations: 67.86 kB / 269.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.67e-05/0.02217, allocations: 24.78 kB / 269.2 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.02219, allocations: 15.94 kB / 269.2 MB, free: 4.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004413/0.02263, allocations: 1.154 MB / 270.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.02264, allocations: 4 kB / 270.4 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.023, allocations: 0.5127 MB / 270.9 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.02303, allocations: 15.98 kB / 270.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.02312, allocations: 12 kB / 270.9 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.02317, allocations: 43.81 kB / 271 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.02319, allocations: 19.98 kB / 271 MB, free: 2.816 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.02332, allocations: 224.6 kB / 271.2 MB, free: 2.602 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02332, allocations: 0 / 271.2 MB, free: 2.602 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003272/0.02365, allocations: 140 kB / 271.3 MB, free: 2.465 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 8.95e-05/0.02374, allocations: 104.3 kB / 271.4 MB, free: 2.355 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003818/0.02412, allocations: 465 kB / 271.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.43e-05/0.02415, allocations: 20.44 kB / 271.9 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.02434, allocations: 289.5 kB / 272.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.02488, allocations: 0.8239 MB / 273 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.0269, allocations: 1.423 MB / 274.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.563e-05/0.027, allocations: 167.1 kB / 274.6 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000154/0.02715, allocations: 90.02 kB / 274.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.02733, allocations: 167.3 kB / 274.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02733, allocations: 0 / 274.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of Templates: time 0.008512/0.03584, allocations: 5.606 MB / 280.5 MB, free: 9.203 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.584962299093604]