Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.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.0008649/0.0008649, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009974/0.001862, allocations: 445.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.0007031/0.0007031, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009281/0.001631, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.939/0.939, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.163/1.102, allocations: 49.48 MB / 220.5 MB, free: 1.461 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 221.8 MB, free: 212 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.911e-05, allocations: 10.31 kB / 221.8 MB, free: 200 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005837/0.005866, allocations: 3.009 MB / 224.8 MB, free: 13.16 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.008955, allocations: 1.022 MB / 225.8 MB, free: 12.13 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005189/0.009474, allocations: 27.75 kB / 225.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.009808, allocations: 99.03 kB / 226 MB, free: 12.01 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.01019, allocations: 102.8 kB / 226.1 MB, free: 11.91 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007588/0.01095, allocations: 223.6 kB / 226.3 MB, free: 11.69 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000851/0.0118, allocations: 0.5524 MB / 226.8 MB, free: 11.13 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003547/0.01215, allocations: 145.2 kB / 227 MB, free: 10.99 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006155/0.01277, allocations: 287.4 kB / 227.3 MB, free: 10.71 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.01304, allocations: 123.5 kB / 227.4 MB, free: 10.59 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.025e-05/0.01311, allocations: 40 kB / 227.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.01327, allocations: 47.98 kB / 227.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.338e-05/0.01335, allocations: 67.69 kB / 227.5 MB, free: 10.44 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.0135, allocations: 119.7 kB / 227.7 MB, free: 10.32 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.01404, allocations: 354.4 kB / 228 MB, free: 9.973 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.951e-05/0.01406, allocations: 0 / 228 MB, free: 9.973 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.01407, allocations: 0 / 228 MB, free: 9.973 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.138e-05/0.0141, allocations: 0 / 228 MB, free: 9.973 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001021/0.01512, allocations: 0.7489 MB / 228.7 MB, free: 9.199 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.01516, allocations: 8.031 kB / 228.8 MB, free: 9.191 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.443e-05/0.01525, allocations: 72.62 kB / 228.8 MB, free: 9.121 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.01566, allocations: 316.8 kB / 229.1 MB, free: 8.785 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.01569, allocations: 32.98 kB / 229.2 MB, free: 8.75 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.01574, allocations: 47.95 kB / 229.2 MB, free: 8.703 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.01619, allocations: 493.1 kB / 229.7 MB, free: 8.121 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.01621, allocations: 11.92 kB / 229.7 MB, free: 8.109 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.01623, allocations: 20 kB / 229.7 MB, free: 8.09 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.01624, allocations: 12 kB / 229.7 MB, free: 8.078 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.01644, allocations: 134.8 kB / 229.9 MB, free: 7.945 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.01781, allocations: 2.444 MB / 232.3 MB, free: 5.395 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.01808, allocations: 90.41 kB / 232.4 MB, free: 5.301 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.01812, allocations: 37.11 kB / 232.4 MB, free: 5.262 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-05/0.0182, allocations: 11.94 kB / 232.4 MB, free: 5.25 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.01822, allocations: 34.55 kB / 232.5 MB, free: 5.207 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.01823, allocations: 0 / 232.5 MB, free: 5.207 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007121/0.01894, allocations: 379.3 kB / 232.9 MB, free: 4.801 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.01896, allocations: 51.41 kB / 232.9 MB, free: 4.738 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.01916, allocations: 343.1 kB / 233.2 MB, free: 4.391 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.01917, allocations: 29.7 kB / 233.3 MB, free: 4.355 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.01928, allocations: 264.4 kB / 233.5 MB, free: 4.094 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.01931, allocations: 71.36 kB / 233.6 MB, free: 4.023 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.01937, allocations: 73.56 kB / 233.7 MB, free: 3.945 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.01947, allocations: 350.7 kB / 234 MB, free: 3.594 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.442e-05/0.0195, allocations: 31.77 kB / 234 MB, free: 3.562 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.0196, allocations: 171.6 kB / 234.2 MB, free: 3.324 MB / 234.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.01988, allocations: 299 kB / 234.5 MB, free: 2.961 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01989, allocations: 4 kB / 234.5 MB, free: 2.957 MB / 234.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002441/0.02013, allocations: 241.8 kB / 234.7 MB, free: 2.711 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.02015, allocations: 8 kB / 234.7 MB, free: 2.703 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.02015, allocations: 4 kB / 234.8 MB, free: 2.699 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/0.02027, allocations: 33.53 kB / 234.8 MB, free: 2.664 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.02045, allocations: 88.39 kB / 234.9 MB, free: 2.578 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009011/0.02135, allocations: 1.383 MB / 236.3 MB, free: 1.105 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.855e-05/0.02144, allocations: 12 kB / 236.3 MB, free: 1.094 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.02145, allocations: 16 kB / 236.3 MB, free: 1.078 MB / 234.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.02156, allocations: 133.7 kB / 236.4 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.02159, allocations: 32 kB / 236.4 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.02163, allocations: 31.53 kB / 236.5 MB, free: 0.875 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.02163, allocations: 4 kB / 236.5 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.02164, allocations: 3.984 kB / 236.5 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.02164, allocations: 0 / 236.5 MB, free: 0.8672 MB / 234.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.02207, allocations: 397 kB / 236.9 MB, free: 460 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.02207, allocations: 0 / 236.9 MB, free: 460 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.02219, allocations: 52.34 kB / 236.9 MB, free: 412 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.02222, allocations: 35.73 kB / 237 MB, free: 376 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-05/0.02228, allocations: 20.84 kB / 237 MB, free: 352 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.02229, allocations: 8 kB / 237 MB, free: 344 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000556/0.02285, allocations: 1.179 MB / 238.2 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.02285, allocations: 3.984 kB / 238.2 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.02304, allocations: 249.4 kB / 238.4 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.02306, allocations: 8 kB / 238.4 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-05/0.02312, allocations: 4.031 kB / 238.4 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.02315, allocations: 23.91 kB / 238.4 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.02316, allocations: 3.938 kB / 238.4 MB, free: 14.76 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.267e-05/0.02324, allocations: 128.7 kB / 238.6 MB, free: 14.64 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02324, allocations: 0 / 238.6 MB, free: 14.64 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.0235, allocations: 72 kB / 238.6 MB, free: 14.57 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.T) * 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 (15): * Single equations (assignments): 14 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.144e-05/0.02359, allocations: 72.42 kB / 238.7 MB, free: 14.48 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.02388, allocations: 262.2 kB / 239 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/0.02389, allocations: 8 kB / 239 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.391e-05/0.02398, allocations: 159.4 kB / 239.1 MB, free: 14.04 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.02419, allocations: 55.06 kB / 239.2 MB, free: 13.98 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.0282, allocations: 0.7919 MB / 240 MB, free: 13.16 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.966e-05/0.02827, allocations: 112.6 kB / 240.1 MB, free: 13.03 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.772e-05/0.02836, allocations: 39.27 kB / 240.1 MB, free: 12.99 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.02847, allocations: 107.3 kB / 240.2 MB, free: 12.88 MB / 250.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02847, allocations: 0 / 240.2 MB, free: 12.88 MB / 250.7 MB Notification: Performance of Templates: time 0.006019/0.03449, allocations: 3.089 MB / 243.3 MB, free: 9.82 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/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.669722832739353]