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.0009515/0.0009515, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.000943/0.000943, allocations: 169.2 kB / 25.33 MB, free: 9.168 MB / 18.57 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.8637/0.8637, allocations: 158.6 MB / 187.2 MB, free: 2.656 MB / 170.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 1.563e-06/1.563e-06, allocations: 0 / 251 MB, free: 7.496 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.242e-05, allocations: 6.109 kB / 251 MB, free: 7.492 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003558/0.003581, allocations: 3.001 MB / 254 MB, free: 4.469 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.005203, allocations: 1.003 MB / 255 MB, free: 3.457 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.00539, allocations: 15.88 kB / 255 MB, free: 3.441 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.005615, allocations: 95.05 kB / 255.1 MB, free: 3.348 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.005753, allocations: 102.9 kB / 255.2 MB, free: 3.246 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008163/0.006569, allocations: 215.6 kB / 255.4 MB, free: 3.035 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005237/0.007093, allocations: 0.568 MB / 256 MB, free: 2.465 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.007386, allocations: 143.2 kB / 256.2 MB, free: 2.316 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.007714, allocations: 259.4 kB / 256.4 MB, free: 2.062 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.007864, allocations: 131.5 kB / 256.5 MB, free: 1.934 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.007909, allocations: 36 kB / 256.6 MB, free: 1.898 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-05/0.008002, allocations: 47.94 kB / 256.6 MB, free: 1.852 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.282e-05/0.008054, allocations: 87.61 kB / 256.7 MB, free: 1.766 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.008163, allocations: 143.6 kB / 256.8 MB, free: 1.625 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.008514, allocations: 366.4 kB / 257.2 MB, free: 1.266 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.008517, allocations: 0 / 257.2 MB, free: 1.266 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.008517, allocations: 7.938 kB / 257.2 MB, free: 1.258 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.008522, allocations: 0 / 257.2 MB, free: 1.258 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.0008362/0.009358, allocations: 0.7685 MB / 258 MB, free: 464 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.009398, allocations: 15.98 kB / 258 MB, free: 448 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.965e-05/0.009498, allocations: 100.2 kB / 258.1 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.009884, allocations: 374.4 kB / 258.5 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.009905, allocations: 29 kB / 258.5 MB, free: 15.92 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.009954, allocations: 40 kB / 258.5 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.01044, allocations: 497.2 kB / 259 MB, free: 15.29 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.01046, allocations: 11.89 kB / 259 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.01049, allocations: 19.98 kB / 259 MB, free: 15.26 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.0105, allocations: 16 kB / 259.1 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.01075, allocations: 163.5 kB / 259.2 MB, free: 15.08 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.0132, allocations: 3.68 MB / 262.9 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.01355, allocations: 123.1 kB / 263 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.808e-05/0.01362, allocations: 43.67 kB / 263.1 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.01374, allocations: 11.97 kB / 263.1 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.01377, allocations: 37.39 kB / 263.1 MB, free: 11.01 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 2.846e-06/0.01377, allocations: 0 / 263.1 MB, free: 11.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.001093/0.01487, allocations: 480.2 kB / 263.6 MB, free: 10.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.01491, allocations: 59.41 kB / 263.6 MB, free: 10.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.01525, allocations: 394.5 kB / 264 MB, free: 10.03 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.01528, allocations: 29.7 kB / 264 MB, free: 9.992 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.01549, allocations: 358.4 kB / 264.4 MB, free: 9.637 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.01554, allocations: 63.48 kB / 264.5 MB, free: 9.574 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.307e-05/0.01563, allocations: 75.3 kB / 264.5 MB, free: 9.492 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.0158, allocations: 0.5157 MB / 265 MB, free: 8.965 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/0.01586, allocations: 31.98 kB / 265.1 MB, free: 8.934 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.01603, allocations: 248.5 kB / 265.3 MB, free: 8.594 MB / 250.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.0004039/0.01643, allocations: 376.4 kB / 265.7 MB, free: 8.129 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01644, allocations: 0 / 265.7 MB, free: 8.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003269/0.01676, allocations: 312.5 kB / 266 MB, free: 7.812 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01678, allocations: 15.38 kB / 266 MB, free: 7.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.01679, allocations: 11.88 kB / 266 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.01694, allocations: 36.33 kB / 266.1 MB, free: 7.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.01709, allocations: 71.91 kB / 266.1 MB, free: 7.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.01817, allocations: 2.051 MB / 268.2 MB, free: 5.504 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.238e-05/0.01827, allocations: 15.94 kB / 268.2 MB, free: 5.488 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.01828, allocations: 19.98 kB / 268.2 MB, free: 5.469 MB / 250.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.0001266/0.01841, allocations: 180.6 kB / 268.4 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.01845, allocations: 43.77 kB / 268.4 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.01849, allocations: 35.53 kB / 268.5 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.01849, allocations: 4.031 kB / 268.5 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.01849, allocations: 4 kB / 268.5 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.0185, allocations: 7.922 kB / 268.5 MB, free: 5.188 MB / 250.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.0005586/0.01906, allocations: 0.5707 MB / 269.1 MB, free: 4.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01906, allocations: 0 / 269.1 MB, free: 4.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.524e-05/0.01916, allocations: 31.98 kB / 269.1 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.24e-05/0.01923, allocations: 23.67 kB / 269.1 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.01924, allocations: 4 kB / 269.1 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009092/0.02015, allocations: 1.76 MB / 270.9 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.02015, allocations: 3.938 kB / 270.9 MB, free: 2.625 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.02042, allocations: 359.5 kB / 271.2 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.02045, allocations: 27.77 kB / 271.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.02046, allocations: 7.938 kB / 271.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-05/0.02051, allocations: 4 kB / 271.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.02056, allocations: 19.91 kB / 271.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.02057, allocations: 8 kB / 271.3 MB, free: 2.18 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001567/0.02073, allocations: 255.1 kB / 271.5 MB, free: 1.93 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02073, allocations: 0 / 271.5 MB, free: 1.93 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.02101, allocations: 68 kB / 271.6 MB, free: 1.863 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 0.0001194/0.02113, allocations: 99.23 kB / 271.7 MB, free: 1.754 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004363/0.02157, allocations: 337.1 kB / 272 MB, free: 1.406 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.02157, allocations: 0 / 272 MB, free: 1.406 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.0217, allocations: 221.4 kB / 272.3 MB, free: 1.168 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.02197, allocations: 45.42 kB / 272.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.0231, allocations: 0.7721 MB / 273.1 MB, free: 320 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.789e-05/0.02316, allocations: 100.6 kB / 273.2 MB, free: 200 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.927e-05/0.02323, allocations: 47.2 kB / 273.2 MB, free: 156 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.02328, allocations: 36.48 kB / 273.2 MB, free: 120 kB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02329, allocations: 0 / 273.2 MB, free: 120 kB / 250.7 MB Notification: Performance of Templates: time 0.004909/0.02819, allocations: 2.702 MB / 275.9 MB, free: 13.44 MB / 266.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 -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.899208400864154]