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.001062/0.001062, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001591/0.002652, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0008372/0.0008372, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001219/0.002056, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.9019/0.9019, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2154/1.117, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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.543e-06/1.543e-06, allocations: 0 / 239.7 MB, free: 6.383 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.04e-05, allocations: 2.312 kB / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003543/0.003564, allocations: 3.02 MB / 242.7 MB, free: 3.359 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.005028, allocations: 0.9776 MB / 243.7 MB, free: 2.387 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.005232, allocations: 19.81 kB / 243.7 MB, free: 2.367 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.005418, allocations: 102 kB / 243.8 MB, free: 2.27 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.005601, allocations: 102.8 kB / 243.9 MB, free: 2.168 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.006, allocations: 223.5 kB / 244.2 MB, free: 1.949 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005217/0.006522, allocations: 0.5532 MB / 244.7 MB, free: 1.395 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.006766, allocations: 149.1 kB / 244.9 MB, free: 1.234 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.007099, allocations: 292.6 kB / 245.1 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.007265, allocations: 119.5 kB / 245.3 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.007315, allocations: 40 kB / 245.3 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.007431, allocations: 44.97 kB / 245.3 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.007487, allocations: 67.69 kB / 245.4 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.007601, allocations: 119.7 kB / 245.5 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.008005, allocations: 359.3 kB / 245.9 MB, free: 216 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.008017, allocations: 0 / 245.9 MB, free: 216 kB / 234.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.008018, allocations: 1.781 kB / 245.9 MB, free: 216 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.008031, allocations: 0 / 245.9 MB, free: 216 kB / 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.001007/0.009038, allocations: 0.7451 MB / 246.6 MB, free: 15.44 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.009075, allocations: 8.688 kB / 246.6 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.009177, allocations: 69.33 kB / 246.7 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.009673, allocations: 328.2 kB / 247 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.009698, allocations: 29 kB / 247 MB, free: 15 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.009752, allocations: 44.62 kB / 247.1 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.01023, allocations: 493.1 kB / 247.6 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.01025, allocations: 8.531 kB / 247.6 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.01027, allocations: 20 kB / 247.6 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.01029, allocations: 12.53 kB / 247.6 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.0105, allocations: 146.7 kB / 247.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.0122, allocations: 2.438 MB / 250.2 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.01244, allocations: 91.27 kB / 250.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.0125, allocations: 36.83 kB / 250.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.794e-05/0.01256, allocations: 8.688 kB / 250.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.01259, allocations: 34.5 kB / 250.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.01259, allocations: 0.7188 kB / 250.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007449/0.01333, allocations: 367.1 kB / 250.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.01336, allocations: 55.41 kB / 250.8 MB, free: 11 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.01359, allocations: 340.8 kB / 251.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.0136, allocations: 25.7 kB / 251.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.01373, allocations: 272.3 kB / 251.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.01377, allocations: 63.42 kB / 251.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.01384, allocations: 73.56 kB / 251.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.01395, allocations: 358.7 kB / 251.9 MB, free: 9.859 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.253e-05/0.01399, allocations: 27.94 kB / 251.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.01411, allocations: 179.6 kB / 252.1 MB, free: 9.586 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.0003468/0.01446, allocations: 317 kB / 252.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01446, allocations: 4 kB / 252.4 MB, free: 9.207 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003153/0.01478, allocations: 245.5 kB / 252.6 MB, free: 8.961 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.0148, allocations: 4 kB / 252.6 MB, free: 8.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.01481, allocations: 8 kB / 252.7 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.01494, allocations: 28.84 kB / 252.7 MB, free: 8.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.01515, allocations: 93.81 kB / 252.8 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.01627, allocations: 1.376 MB / 254.1 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.0164, allocations: 16 kB / 254.2 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.01641, allocations: 8 kB / 254.2 MB, free: 7.344 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.00012/0.01653, allocations: 141.6 kB / 254.3 MB, free: 7.195 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.01658, allocations: 27.97 kB / 254.3 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.01662, allocations: 35.53 kB / 254.4 MB, free: 7.133 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01662, allocations: 0 / 254.4 MB, free: 7.133 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01663, allocations: 4 kB / 254.4 MB, free: 7.129 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01663, allocations: 8.016 kB / 254.4 MB, free: 7.121 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.0005057/0.01714, allocations: 390.3 kB / 254.8 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01714, allocations: 0 / 254.8 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.01729, allocations: 43.91 kB / 254.8 MB, free: 6.664 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.01732, allocations: 39.69 kB / 254.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.509e-05/0.01739, allocations: 20.84 kB / 254.9 MB, free: 6.602 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.0174, allocations: 4 kB / 254.9 MB, free: 6.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006081/0.01801, allocations: 1.186 MB / 256.1 MB, free: 5.316 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01801, allocations: 0 / 256.1 MB, free: 5.316 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.01823, allocations: 245.5 kB / 256.3 MB, free: 5.055 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.01825, allocations: 4 kB / 256.3 MB, free: 5.051 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.01833, allocations: 8 kB / 256.3 MB, free: 5.043 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.01837, allocations: 11.97 kB / 256.3 MB, free: 5.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.01838, allocations: 3.938 kB / 256.3 MB, free: 5.027 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.01849, allocations: 132.7 kB / 256.5 MB, free: 4.898 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01849, allocations: 0 / 256.5 MB, free: 4.898 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003494/0.01884, allocations: 75.97 kB / 256.5 MB, free: 4.824 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.0001125/0.01895, allocations: 84.36 kB / 256.6 MB, free: 4.734 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003363/0.01929, allocations: 260.9 kB / 256.9 MB, free: 4.469 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/0.0193, allocations: 7.938 kB / 256.9 MB, free: 4.461 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.01943, allocations: 169.6 kB / 257 MB, free: 4.281 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.01979, allocations: 288.5 kB / 257.3 MB, free: 3.965 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00524/0.02503, allocations: 0.787 MB / 258.1 MB, free: 3.145 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.53e-05/0.02512, allocations: 112.6 kB / 258.2 MB, free: 3.016 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.02522, allocations: 39.25 kB / 258.3 MB, free: 2.973 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.02535, allocations: 103.3 kB / 258.4 MB, free: 2.871 MB / 250.7 MB Notification: Performance of SimCode: time 1.303e-06/0.02535, allocations: 0 / 258.4 MB, free: 2.871 MB / 250.7 MB Notification: Performance of Templates: time 0.006831/0.03218, allocations: 2.932 MB / 261.3 MB, free: 12 kB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5591424610465765]