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.001936/0.001936, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002697/0.002697, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.487/1.487, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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 2.214e-06/2.214e-06, allocations: 1.375 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.446e-05, allocations: 2.281 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005653/0.005677, allocations: 4.125 MB / 329.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.008794, allocations: 1.371 MB / 330.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005684/0.009362, allocations: 34.41 kB / 330.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004737/0.009836, allocations: 183.5 kB / 330.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004828/0.01032, allocations: 171 kB / 330.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.01135, allocations: 383.6 kB / 331.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.01262, allocations: 1.002 MB / 332.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004913/0.01311, allocations: 264.9 kB / 332.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007588/0.01387, allocations: 0.4939 MB / 333.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.0142, allocations: 235.4 kB / 333.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.01431, allocations: 72.97 kB / 333.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.01455, allocations: 120.2 kB / 333.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.01471, allocations: 181 kB / 333.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.01499, allocations: 260.2 kB / 333.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.01619, allocations: 1.098 MB / 335 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.01619, allocations: 0 / 335 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01619, allocations: 3.938 kB / 335 MB, free: 9.871 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.0162, allocations: 1.156 kB / 335 MB, free: 9.871 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.001654/0.01786, allocations: 1.085 MB / 336.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.01789, allocations: 9.844 kB / 336.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.01817, allocations: 119.7 kB / 336.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/0.01914, allocations: 0.5542 MB / 336.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.0192, allocations: 58.25 kB / 336.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.01931, allocations: 84.36 kB / 336.9 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.02071, allocations: 0.8449 MB / 337.8 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.02075, allocations: 7.938 kB / 337.8 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-05/0.02082, allocations: 40.94 kB / 337.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.02084, allocations: 21.72 kB / 337.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.02217, allocations: 470.6 kB / 338.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004426/0.02659, allocations: 4.081 MB / 342.4 MB, free: 3.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006508/0.02724, allocations: 300.3 kB / 342.7 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.02749, allocations: 133.4 kB / 342.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.02764, allocations: 16.36 kB / 342.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.02768, allocations: 38.94 kB / 342.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 2.195e-06/0.02769, allocations: 0 / 342.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=57): time 0.00352/0.03121, allocations: 1.599 MB / 344.4 MB, free: 1.324 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.03126, allocations: 59.91 kB / 344.5 MB, free: 1.254 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006371/0.03189, allocations: 0.547 MB / 345.1 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.03193, allocations: 37.64 kB / 345.1 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.03239, allocations: 495.7 kB / 345.6 MB, free: 168 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.03258, allocations: 222.1 kB / 345.8 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.03276, allocations: 134.6 kB / 345.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.03298, allocations: 386.7 kB / 346.3 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.03328, allocations: 157.9 kB / 346.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.03381, allocations: 463.3 kB / 346.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009174/0.03473, allocations: 0.6682 MB / 347.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.03473, allocations: 4 kB / 347.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001188/0.03592, allocations: 0.7362 MB / 348.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.03594, allocations: 8 kB / 348.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.03596, allocations: 15.98 kB / 348.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.03613, allocations: 52.72 kB / 348.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.03674, allocations: 183.7 kB / 348.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.03817, allocations: 1.544 MB / 350.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.03848, allocations: 31.94 kB / 350.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.03853, allocations: 36 kB / 350.2 MB, free: 11.17 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.0003094/0.03884, allocations: 236.5 kB / 350.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.03894, allocations: 75.52 kB / 350.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.03907, allocations: 75.08 kB / 350.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.03908, allocations: 4 kB / 350.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.03908, allocations: 0 / 350.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.03909, allocations: 7.922 kB / 350.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.04102, allocations: 1.182 MB / 351.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.04103, allocations: 7.984 kB / 351.8 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.04153, allocations: 116.2 kB / 351.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.75e-05/0.04161, allocations: 28.84 kB / 351.9 MB, free: 9.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.04165, allocations: 19.94 kB / 351.9 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009667/0.04261, allocations: 1.237 MB / 353.2 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.04262, allocations: 4 kB / 353.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.04373, allocations: 0.7808 MB / 353.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/0.04382, allocations: 71.67 kB / 354 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.209e-05/0.04388, allocations: 15.98 kB / 354 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.04411, allocations: 19.94 kB / 354 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.474e-05/0.04419, allocations: 39.88 kB / 354.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.04422, allocations: 20.08 kB / 354.1 MB, free: 6.996 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004392/0.04466, allocations: 371 kB / 354.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.04466, allocations: 0 / 354.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006389/0.0453, allocations: 136 kB / 354.6 MB, free: 6.504 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.0001522/0.04545, allocations: 119.2 kB / 354.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009665/0.04642, allocations: 0.5606 MB / 355.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.04642, allocations: 0 / 355.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.04685, allocations: 299.9 kB / 355.6 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.04748, allocations: 102.1 kB / 355.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.05006, allocations: 1.644 MB / 357.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.05044, allocations: 374.3 kB / 357.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002445/0.05068, allocations: 94 kB / 357.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.05082, allocations: 60.48 kB / 357.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.05082, allocations: 0 / 357.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of Templates: time 0.01258/0.0634, allocations: 5.219 MB / 363.1 MB, free: 14.04 MB / 334.1 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.512121077626944]