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.001032/0.001032, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.0009728/0.0009728, allocations: 165.6 kB / 25.69 MB, free: 8.445 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.8552/0.8552, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.322e-06/1.322e-06, allocations: 0 / 251.5 MB, free: 7.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.748e-05, allocations: 2.312 kB / 251.5 MB, free: 7.301 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002751/0.002769, allocations: 2.954 MB / 254.5 MB, free: 4.324 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.004035, allocations: 1.026 MB / 255.5 MB, free: 3.293 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.004179, allocations: 19.81 kB / 255.5 MB, free: 3.273 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.004372, allocations: 87.11 kB / 255.6 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.004511, allocations: 114.8 kB / 255.7 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.004879, allocations: 223.5 kB / 255.9 MB, free: 2.855 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.005259, allocations: 0.5524 MB / 256.5 MB, free: 2.297 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.005456, allocations: 149.2 kB / 256.6 MB, free: 2.145 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.005688, allocations: 267.4 kB / 256.9 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.005816, allocations: 123.5 kB / 257 MB, free: 1.762 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.005851, allocations: 36 kB / 257 MB, free: 1.727 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.005929, allocations: 51.92 kB / 257.1 MB, free: 1.676 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.005982, allocations: 99.55 kB / 257.2 MB, free: 1.578 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.548e-05/0.006067, allocations: 139.6 kB / 257.3 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.00637, allocations: 362.5 kB / 257.7 MB, free: 1.086 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.006371, allocations: 0 / 257.7 MB, free: 1.086 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006372, allocations: 0 / 257.7 MB, free: 1.086 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.006376, allocations: 0 / 257.7 MB, free: 1.086 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.0005401/0.006916, allocations: 0.6516 MB / 258.3 MB, free: 420 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.006948, allocations: 15.98 kB / 258.3 MB, free: 404 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.007011, allocations: 72.62 kB / 258.4 MB, free: 332 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.007343, allocations: 324.8 kB / 258.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.007362, allocations: 29 kB / 258.8 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.007404, allocations: 51.95 kB / 258.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.007745, allocations: 420 kB / 259.2 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.00776, allocations: 7.938 kB / 259.2 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.00778, allocations: 19.98 kB / 259.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.007789, allocations: 12 kB / 259.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.007946, allocations: 142.8 kB / 259.4 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.00907, allocations: 2.425 MB / 261.8 MB, free: 12.7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.009264, allocations: 102.5 kB / 261.9 MB, free: 12.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.009298, allocations: 28.8 kB / 261.9 MB, free: 12.56 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.991e-05/0.009348, allocations: 7.984 kB / 262 MB, free: 12.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.009367, allocations: 42.56 kB / 262 MB, free: 12.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.532e-06/0.009369, allocations: 0 / 262 MB, free: 12.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005462/0.009915, allocations: 365.2 kB / 262.4 MB, free: 12.11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.009938, allocations: 59.34 kB / 262.4 MB, free: 12.04 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.01011, allocations: 335.1 kB / 262.7 MB, free: 11.7 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.01012, allocations: 33.64 kB / 262.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.01022, allocations: 268.3 kB / 263 MB, free: 11.4 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.01025, allocations: 71.45 kB / 263.1 MB, free: 11.33 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.0103, allocations: 65.62 kB / 263.2 MB, free: 11.26 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.01039, allocations: 358.7 kB / 263.5 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.023e-05/0.01042, allocations: 23.98 kB / 263.5 MB, free: 10.88 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.852e-05/0.01051, allocations: 175.5 kB / 263.7 MB, free: 10.63 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.0002376/0.01075, allocations: 295.2 kB / 264 MB, free: 10.27 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01075, allocations: 4 kB / 264 MB, free: 10.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002102/0.01096, allocations: 242.3 kB / 264.2 MB, free: 10.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01097, allocations: 8 kB / 264.2 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01098, allocations: 4 kB / 264.3 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.952e-05/0.01108, allocations: 28.84 kB / 264.3 MB, free: 9.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.01121, allocations: 79.78 kB / 264.4 MB, free: 9.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000634/0.01184, allocations: 1.364 MB / 265.7 MB, free: 8.449 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.01191, allocations: 12.03 kB / 265.7 MB, free: 8.438 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.01193, allocations: 16 kB / 265.7 MB, free: 8.422 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 9.626e-05/0.01202, allocations: 145.6 kB / 265.9 MB, free: 8.27 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.01205, allocations: 27.97 kB / 265.9 MB, free: 8.242 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.01209, allocations: 39.53 kB / 266 MB, free: 8.203 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.01209, allocations: 0 / 266 MB, free: 8.203 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01209, allocations: 0 / 266 MB, free: 8.203 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01209, allocations: 0 / 266 MB, free: 8.203 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.0003592/0.01245, allocations: 400.3 kB / 266.3 MB, free: 7.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01245, allocations: 0 / 266.3 MB, free: 7.781 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.01254, allocations: 27.98 kB / 266.4 MB, free: 7.754 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-05/0.01258, allocations: 20.84 kB / 266.4 MB, free: 7.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.01259, allocations: 4 kB / 266.4 MB, free: 7.727 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004536/0.01305, allocations: 1.186 MB / 267.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01305, allocations: 0 / 267.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.01322, allocations: 260.6 kB / 267.8 MB, free: 6.18 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.01324, allocations: 27.77 kB / 267.9 MB, free: 6.152 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.01325, allocations: 8 kB / 267.9 MB, free: 6.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.0133, allocations: 0 / 267.9 MB, free: 6.145 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.01333, allocations: 19.97 kB / 267.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.01334, allocations: 3.938 kB / 267.9 MB, free: 6.121 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.972e-05/0.01342, allocations: 132.7 kB / 268 MB, free: 5.988 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01342, allocations: 0 / 268 MB, free: 5.988 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.01364, allocations: 68 kB / 268.1 MB, free: 5.922 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 7.053e-05/0.01371, allocations: 80.36 kB / 268.2 MB, free: 5.832 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.01396, allocations: 275.2 kB / 268.4 MB, free: 5.551 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.135e-05/0.014, allocations: 4 kB / 268.4 MB, free: 5.547 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.01425, allocations: 159.4 kB / 268.6 MB, free: 5.375 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.01454, allocations: 41.48 kB / 268.6 MB, free: 5.336 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.01562, allocations: 0.7439 MB / 269.4 MB, free: 4.559 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.554e-05/0.01568, allocations: 100.6 kB / 269.5 MB, free: 4.441 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.348e-05/0.01574, allocations: 39.27 kB / 269.5 MB, free: 4.406 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.01583, allocations: 99.36 kB / 269.6 MB, free: 4.309 MB / 250.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01583, allocations: 0 / 269.6 MB, free: 4.309 MB / 250.7 MB Notification: Performance of Templates: time 0.004826/0.02066, allocations: 2.904 MB / 272.5 MB, free: 1.438 MB / 250.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.4944197926670313]