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.0009416/0.0009416, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0009764/0.0009764, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.9085/0.9085, allocations: 158.6 MB / 187.5 MB, free: 2.945 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.282e-06/1.282e-06, allocations: 0 / 251.1 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.852e-05, allocations: 6.312 kB / 251.1 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003263/0.003282, allocations: 2.989 MB / 254.1 MB, free: 4.824 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.004745, allocations: 0.9951 MB / 255.1 MB, free: 3.82 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.004946, allocations: 19.81 kB / 255.1 MB, free: 3.801 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.005175, allocations: 99.03 kB / 255.2 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.005341, allocations: 98.97 kB / 255.3 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.005918, allocations: 227.5 kB / 255.5 MB, free: 3.383 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005571/0.006475, allocations: 0.5485 MB / 256.1 MB, free: 2.832 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.006733, allocations: 147.2 kB / 256.2 MB, free: 2.68 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.007017, allocations: 267.4 kB / 256.5 MB, free: 2.418 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.007159, allocations: 119.5 kB / 256.6 MB, free: 2.301 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.007199, allocations: 36 kB / 256.6 MB, free: 2.266 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.726e-05/0.007296, allocations: 59.98 kB / 256.7 MB, free: 2.207 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.007351, allocations: 87.61 kB / 256.8 MB, free: 2.121 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.007464, allocations: 139.6 kB / 256.9 MB, free: 1.984 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.007836, allocations: 362.4 kB / 257.2 MB, free: 1.629 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.007838, allocations: 0 / 257.2 MB, free: 1.629 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007839, allocations: 0 / 257.2 MB, free: 1.629 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.007846, allocations: 3.938 kB / 257.2 MB, free: 1.625 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.0007267/0.008573, allocations: 0.7802 MB / 258 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.008614, allocations: 11.98 kB / 258 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.008719, allocations: 100.3 kB / 258.1 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.009157, allocations: 378.3 kB / 258.5 MB, free: 308 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.009181, allocations: 37 kB / 258.5 MB, free: 272 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.009231, allocations: 36 kB / 258.6 MB, free: 236 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.009746, allocations: 493.2 kB / 259.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.009767, allocations: 11.89 kB / 259.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.009791, allocations: 16 kB / 259.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.009805, allocations: 12 kB / 259.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005543/0.01036, allocations: 175.5 kB / 259.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.01227, allocations: 3.673 MB / 262.9 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.01264, allocations: 123.1 kB / 263.1 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.622e-05/0.01271, allocations: 43.67 kB / 263.1 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.193e-05/0.01279, allocations: 8 kB / 263.1 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.01282, allocations: 37.39 kB / 263.1 MB, free: 11.38 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.01282, allocations: 4 kB / 263.2 MB, free: 11.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008747/0.01369, allocations: 491.2 kB / 263.6 MB, free: 10.85 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.01372, allocations: 51.41 kB / 263.7 MB, free: 10.79 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.01401, allocations: 398.5 kB / 264.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.01403, allocations: 25.7 kB / 264.1 MB, free: 10.35 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.01424, allocations: 358.4 kB / 264.4 MB, free: 9.996 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.01429, allocations: 63.47 kB / 264.5 MB, free: 9.934 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/0.01436, allocations: 71.31 kB / 264.6 MB, free: 9.855 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.01451, allocations: 0.5157 MB / 265.1 MB, free: 9.328 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.01458, allocations: 35.97 kB / 265.1 MB, free: 9.293 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.01475, allocations: 256.5 kB / 265.4 MB, free: 8.945 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.0004447/0.01519, allocations: 364.4 kB / 265.7 MB, free: 8.492 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.0152, allocations: 0 / 265.7 MB, free: 8.492 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003954/0.01559, allocations: 321.1 kB / 266 MB, free: 8.168 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.01561, allocations: 12.03 kB / 266.1 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.01562, allocations: 11.88 kB / 266.1 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.01578, allocations: 31.67 kB / 266.1 MB, free: 8.109 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.01617, allocations: 75.84 kB / 266.2 MB, free: 8.035 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.01735, allocations: 2.043 MB / 268.2 MB, free: 5.867 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.01745, allocations: 11.94 kB / 268.2 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.01747, allocations: 24.03 kB / 268.3 MB, free: 5.832 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.0001388/0.01761, allocations: 184.4 kB / 268.4 MB, free: 5.641 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.01765, allocations: 43.91 kB / 268.5 MB, free: 5.598 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.01769, allocations: 39.52 kB / 268.5 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01769, allocations: 4 kB / 268.5 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.0177, allocations: 0 / 268.5 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.01771, allocations: 3.938 kB / 268.5 MB, free: 5.551 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.0006234/0.01833, allocations: 0.5709 MB / 269.1 MB, free: 4.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.01833, allocations: 4.031 kB / 269.1 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.01845, allocations: 31.98 kB / 269.1 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.335e-05/0.01852, allocations: 23.67 kB / 269.2 MB, free: 4.867 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.01853, allocations: 4 kB / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008786/0.01941, allocations: 1.756 MB / 270.9 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01941, allocations: 0 / 270.9 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.01973, allocations: 359.1 kB / 271.3 MB, free: 2.613 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.01976, allocations: 39.83 kB / 271.3 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.01978, allocations: 7.938 kB / 271.3 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.854e-05/0.01984, allocations: 4 kB / 271.3 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.01989, allocations: 15.97 kB / 271.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.0199, allocations: 4 kB / 271.3 MB, free: 2.543 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002004/0.0201, allocations: 251.1 kB / 271.6 MB, free: 2.297 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0201, allocations: 0 / 271.6 MB, free: 2.297 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003299/0.02043, allocations: 68 kB / 271.6 MB, free: 2.23 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.0001093/0.02054, allocations: 99.19 kB / 271.7 MB, free: 2.121 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.02094, allocations: 331.8 kB / 272.1 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02094, allocations: 1.375 kB / 272.1 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.02108, allocations: 233.4 kB / 272.3 MB, free: 1.527 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.02133, allocations: 45.48 kB / 272.3 MB, free: 1.484 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.02267, allocations: 0.7755 MB / 273.1 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.079e-05/0.02274, allocations: 100.6 kB / 273.2 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.669e-05/0.02283, allocations: 43.25 kB / 273.3 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.02288, allocations: 36.42 kB / 273.3 MB, free: 492 kB / 250.7 MB Notification: Performance of SimCode: time 1.213e-06/0.02289, allocations: 0 / 273.3 MB, free: 492 kB / 250.7 MB Notification: Performance of Templates: time 0.005943/0.02883, allocations: 2.706 MB / 276 MB, free: 13.8 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.717245802981779]