Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001687/0.001687, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001107/0.001107, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.9994/0.9994, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.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.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 272.9 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.92e-05, allocations: 6.312 kB / 272.9 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003046/0.003066, allocations: 3.021 MB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.004588, allocations: 1.017 MB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.004794, allocations: 15.88 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.005018, allocations: 95.05 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.005171, allocations: 102.9 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.005696, allocations: 235.5 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004737/0.006169, allocations: 0.5602 MB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.006413, allocations: 143.2 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.006734, allocations: 279.4 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.00688, allocations: 123.5 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.00692, allocations: 36 kB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.852e-05/0.007019, allocations: 52 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.007069, allocations: 87.61 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.844e-05/0.007167, allocations: 147.6 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.007538, allocations: 370.4 kB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.007541, allocations: 4 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007542, allocations: 0 / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.007547, allocations: 0 / 279.2 MB, free: 11.25 MB / 266.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.0006904/0.008237, allocations: 0.7724 MB / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.008275, allocations: 12.03 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.008441, allocations: 104.3 kB / 280.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.008847, allocations: 386.3 kB / 280.5 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.00887, allocations: 29 kB / 280.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.008924, allocations: 44 kB / 280.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.009447, allocations: 0.4894 MB / 281 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.009468, allocations: 4 kB / 281 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.009492, allocations: 16 kB / 281 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.009505, allocations: 12 kB / 281.1 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.009815, allocations: 171.5 kB / 281.2 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.01173, allocations: 3.684 MB / 284.9 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.01203, allocations: 123.1 kB / 285 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.01209, allocations: 39.7 kB / 285.1 MB, free: 5.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.065e-05/0.01218, allocations: 12 kB / 285.1 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.0122, allocations: 33.39 kB / 285.1 MB, free: 4.992 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/0.01221, allocations: 0 / 285.1 MB, free: 4.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000865/0.01307, allocations: 494.1 kB / 285.6 MB, free: 4.469 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.0131, allocations: 55.41 kB / 285.6 MB, free: 4.402 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.01335, allocations: 390.6 kB / 286 MB, free: 4.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.01337, allocations: 29.7 kB / 286.1 MB, free: 3.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.01352, allocations: 354.4 kB / 286.4 MB, free: 3.617 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.01356, allocations: 71.42 kB / 286.5 MB, free: 3.547 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.01362, allocations: 71.31 kB / 286.5 MB, free: 3.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.01375, allocations: 0.5157 MB / 287.1 MB, free: 2.941 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-05/0.01381, allocations: 35.97 kB / 287.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.01395, allocations: 256.5 kB / 287.3 MB, free: 2.559 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.000658/0.01461, allocations: 383.6 kB / 287.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01461, allocations: 0 / 287.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000342/0.01495, allocations: 313.1 kB / 288 MB, free: 1.773 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.01497, allocations: 8 kB / 288 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.01498, allocations: 11.97 kB / 288 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.01513, allocations: 35.67 kB / 288.1 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.01527, allocations: 71.91 kB / 288.1 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000947/0.01622, allocations: 2.044 MB / 290.2 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.567e-05/0.0163, allocations: 15.94 kB / 290.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.01632, allocations: 16 kB / 290.2 MB, free: 15.45 MB / 282.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.0001166/0.01643, allocations: 187.4 kB / 290.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.01647, allocations: 43.77 kB / 290.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.01651, allocations: 43.52 kB / 290.5 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.01651, allocations: 0 / 290.5 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01652, allocations: 4 kB / 290.5 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01652, allocations: 3.938 kB / 290.5 MB, free: 15.16 MB / 282.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.0005474/0.01707, allocations: 0.5704 MB / 291.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01707, allocations: 0 / 291.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.99e-05/0.01717, allocations: 43.89 kB / 291.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.775e-05/0.01724, allocations: 23.67 kB / 291.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01725, allocations: 4 kB / 291.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007342/0.01798, allocations: 1.757 MB / 292.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01798, allocations: 0 / 292.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.01826, allocations: 355.3 kB / 293.2 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.01829, allocations: 31.75 kB / 293.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.0183, allocations: 15.97 kB / 293.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.341e-05/0.01836, allocations: 0 / 293.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.01839, allocations: 15.97 kB / 293.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.0184, allocations: 4 kB / 293.3 MB, free: 12.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.01855, allocations: 255.1 kB / 293.6 MB, free: 11.9 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01855, allocations: 0 / 293.6 MB, free: 11.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.01881, allocations: 68 kB / 293.6 MB, free: 11.84 MB / 282.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 8.608e-05/0.0189, allocations: 95.25 kB / 293.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003652/0.01927, allocations: 336.8 kB / 294 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01927, allocations: 0 / 294 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.0194, allocations: 229.6 kB / 294.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.01963, allocations: 44.47 kB / 294.3 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.02108, allocations: 0.7869 MB / 295.1 MB, free: 10.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.737e-05/0.02115, allocations: 104.6 kB / 295.2 MB, free: 10.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.02122, allocations: 39.27 kB / 295.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.02128, allocations: 32.48 kB / 295.3 MB, free: 10.09 MB / 282.7 MB Notification: Performance of SimCode: time 6.42e-07/0.02128, allocations: 0 / 295.3 MB, free: 10.09 MB / 282.7 MB Notification: Performance of Templates: time 0.00534/0.02662, allocations: 2.708 MB / 298 MB, free: 7.434 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.0593936778604984]