Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 147.2 kB / 24.98 MB, free: 8.305 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9642/0.9642, allocations: 173.3 MB / 201.5 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 268 MB, free: 6.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.095e-05, allocations: 10.25 kB / 268.1 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002885/0.002906, allocations: 2.984 MB / 271 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.004012, allocations: 0.963 MB / 272 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.00415, allocations: 15.88 kB / 272 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.004337, allocations: 98.98 kB / 272.1 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.004453, allocations: 106.9 kB / 272.2 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.004822, allocations: 219.5 kB / 272.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.00522, allocations: 0.5563 MB / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.005435, allocations: 139.2 kB / 273.1 MB, free: 1.645 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.005647, allocations: 267.4 kB / 273.4 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.005777, allocations: 127.5 kB / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.005814, allocations: 36 kB / 273.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.827e-05/0.005892, allocations: 47.94 kB / 273.6 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.005942, allocations: 91.61 kB / 273.7 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.028e-05/0.006032, allocations: 143.6 kB / 273.8 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.00635, allocations: 366.4 kB / 274.2 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.006352, allocations: 0 / 274.2 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006353, allocations: 0 / 274.2 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.006358, allocations: 0 / 274.2 MB, free: 0.5859 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0006391/0.006997, allocations: 0.7647 MB / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.007028, allocations: 12.03 kB / 275 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.007116, allocations: 96.31 kB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.007479, allocations: 386.2 kB / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.007498, allocations: 29 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.007542, allocations: 48 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004427/0.007985, allocations: 497.2 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.008003, allocations: 7.938 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.008027, allocations: 19.94 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.008039, allocations: 12 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.008273, allocations: 167.5 kB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.009726, allocations: 3.676 MB / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.009979, allocations: 127 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.01004, allocations: 47.7 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.351e-05/0.0101, allocations: 4.281 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.01012, allocations: 37.39 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.01012, allocations: 0 / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007184/0.01084, allocations: 494.5 kB / 280.6 MB, free: 9.805 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.01087, allocations: 55.41 kB / 280.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.01111, allocations: 390.5 kB / 281 MB, free: 9.344 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.01113, allocations: 29.7 kB / 281 MB, free: 9.309 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.01128, allocations: 350.5 kB / 281.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.01132, allocations: 71.42 kB / 281.4 MB, free: 8.887 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.01138, allocations: 71.31 kB / 281.5 MB, free: 8.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.01152, allocations: 0.5157 MB / 282 MB, free: 8.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.01158, allocations: 35.97 kB / 282.1 MB, free: 8.246 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.01172, allocations: 248.5 kB / 282.3 MB, free: 7.906 MB / 266.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.0003933/0.01212, allocations: 383.2 kB / 282.7 MB, free: 7.438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01212, allocations: 0 / 282.7 MB, free: 7.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003062/0.01242, allocations: 312.2 kB / 283 MB, free: 7.125 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.01244, allocations: 8.062 kB / 283 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.01245, allocations: 11.94 kB / 283 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001311/0.01258, allocations: 43.59 kB / 283 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.01272, allocations: 71.91 kB / 283.1 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009866/0.0137, allocations: 2.04 MB / 285.2 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.07e-05/0.01378, allocations: 15.94 kB / 285.2 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.0138, allocations: 16 kB / 285.2 MB, free: 4.797 MB / 266.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.0001062/0.0139, allocations: 180.5 kB / 285.4 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.01394, allocations: 43.77 kB / 285.4 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.01398, allocations: 43.52 kB / 285.4 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.01398, allocations: 0 / 285.4 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01398, allocations: 4 kB / 285.4 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01398, allocations: 7.875 kB / 285.5 MB, free: 4.516 MB / 266.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.0005032/0.01449, allocations: 0.5748 MB / 286 MB, free: 3.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01449, allocations: 32 / 286 MB, free: 3.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.01459, allocations: 43.95 kB / 286.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-05/0.01465, allocations: 19.69 kB / 286.1 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.01466, allocations: 7.984 kB / 286.1 MB, free: 3.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000854/0.01552, allocations: 1.756 MB / 287.9 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01552, allocations: 0 / 287.9 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.01577, allocations: 351.4 kB / 288.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.01579, allocations: 27.8 kB / 288.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.01581, allocations: 15.92 kB / 288.2 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.478e-05/0.01586, allocations: 4 kB / 288.2 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.0159, allocations: 11.98 kB / 288.3 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.0159, allocations: 4 kB / 288.3 MB, free: 1.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.01604, allocations: 259 kB / 288.5 MB, free: 1.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01604, allocations: 0 / 288.5 MB, free: 1.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.0163, allocations: 68 kB / 288.6 MB, free: 1.184 MB / 266.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 7.379e-05/0.01637, allocations: 99.44 kB / 288.7 MB, free: 1.078 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.01671, allocations: 340.7 kB / 289 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01671, allocations: 4 kB / 289 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.01682, allocations: 218.8 kB / 289.2 MB, free: 500 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.01705, allocations: 49.53 kB / 289.3 MB, free: 452 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.01808, allocations: 0.7714 MB / 290 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.9e-05/0.01814, allocations: 104.6 kB / 290.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.108e-05/0.01821, allocations: 39.25 kB / 290.2 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.01826, allocations: 32.5 kB / 290.2 MB, free: 15.44 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01826, allocations: 0 / 290.2 MB, free: 15.44 MB / 282.7 MB Notification: Performance of Templates: time 0.004716/0.02298, allocations: 2.721 MB / 292.9 MB, free: 12.79 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.7853965861722827]