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.001773/0.001773, allocations: 84.66 kB / 20.95 MB, free: 3.449 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.002007/0.002007, allocations: 149.1 kB / 24.26 MB, free: 156 kB / 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 1.472/1.472, allocations: 173.3 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] 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.302e-06/1.302e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.022e-05, allocations: 2.312 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004575/0.004605, allocations: 2.827 MB / 270.1 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.006398, allocations: 0.9396 MB / 271.1 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.006567, allocations: 15.88 kB / 271.1 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.006848, allocations: 98.97 kB / 271.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.00707, allocations: 98.97 kB / 271.3 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.007669, allocations: 223.6 kB / 271.5 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007165/0.008385, allocations: 0.5563 MB / 272 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.008717, allocations: 143.2 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.009109, allocations: 263.4 kB / 272.4 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.00931, allocations: 119.5 kB / 272.6 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.723e-05/0.009377, allocations: 40 kB / 272.6 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.009507, allocations: 51.97 kB / 272.6 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.009608, allocations: 91.61 kB / 272.7 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.009789, allocations: 135.6 kB / 272.9 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007649/0.01055, allocations: 0.5799 MB / 273.4 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.01056, allocations: 0 / 273.4 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01056, allocations: 0 / 273.4 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.01057, allocations: 0 / 273.4 MB, free: 0.5508 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.001269/0.01184, allocations: 0.6686 MB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.01188, allocations: 12.03 kB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.01205, allocations: 92.31 kB / 274.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006613/0.01271, allocations: 391.3 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.01275, allocations: 32.94 kB / 274.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.563e-05/0.01282, allocations: 40 kB / 274.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008599/0.01368, allocations: 487.4 kB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.0137, allocations: 11.94 kB / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.01374, allocations: 16 kB / 275.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.01376, allocations: 12 kB / 275.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.01431, allocations: 242.2 kB / 275.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00277/0.01708, allocations: 2.63 MB / 278.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.01756, allocations: 154.6 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.01771, allocations: 64.88 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-05/0.01779, allocations: 7.984 kB / 278.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.01783, allocations: 46.55 kB / 278.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.01783, allocations: 0 / 278.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001385/0.01922, allocations: 0.5581 MB / 278.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.01927, allocations: 59.34 kB / 278.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.01969, allocations: 353.5 kB / 279.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.01972, allocations: 29.7 kB / 279.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.01999, allocations: 311.7 kB / 279.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-05/0.02006, allocations: 67.42 kB / 279.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.02017, allocations: 69.61 kB / 279.7 MB, free: 9.891 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.02037, allocations: 346.8 kB / 280.1 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.02053, allocations: 63.97 kB / 280.1 MB, free: 9.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.02083, allocations: 219.3 kB / 280.4 MB, free: 9.195 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.001062/0.0219, allocations: 450.1 kB / 280.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.0219, allocations: 0 / 280.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008139/0.02271, allocations: 377.2 kB / 281.2 MB, free: 8.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.02273, allocations: 11.94 kB / 281.2 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.02274, allocations: 4 kB / 281.2 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.02292, allocations: 40.84 kB / 281.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.02318, allocations: 75.83 kB / 281.3 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.02484, allocations: 1.501 MB / 282.8 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.02501, allocations: 12 kB / 282.8 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.02504, allocations: 16 kB / 282.8 MB, free: 6.551 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.0002459/0.02529, allocations: 177.8 kB / 283 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.02536, allocations: 47.7 kB / 283 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.741e-05/0.02544, allocations: 39.53 kB / 283.1 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.02544, allocations: 0 / 283.1 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.02545, allocations: 3.938 kB / 283.1 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.02545, allocations: 4.062 kB / 283.1 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.0265, allocations: 0.5661 MB / 283.7 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.0265, allocations: 4 kB / 283.7 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.0267, allocations: 27.98 kB / 283.7 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.654e-05/0.0268, allocations: 24.84 kB / 283.7 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.02682, allocations: 8 kB / 283.7 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.0281, allocations: 1.304 MB / 285 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.02811, allocations: 7.969 kB / 285 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006072/0.02871, allocations: 373.4 kB / 285.4 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.02876, allocations: 27.77 kB / 285.4 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.02879, allocations: 11.94 kB / 285.4 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.02891, allocations: 0 / 285.4 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.02897, allocations: 20.02 kB / 285.5 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.02898, allocations: 4 kB / 285.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002808/0.02927, allocations: 235.2 kB / 285.7 MB, free: 3.504 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02927, allocations: 4 kB / 285.7 MB, free: 3.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004631/0.02973, allocations: 68 kB / 285.8 MB, free: 3.434 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 0.0001377/0.02987, allocations: 99.19 kB / 285.9 MB, free: 3.328 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006371/0.0305, allocations: 315.2 kB / 286.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.03051, allocations: 0 / 286.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.03078, allocations: 182.5 kB / 286.3 MB, free: 2.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.03114, allocations: 37.42 kB / 286.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.03271, allocations: 0.7868 MB / 287.2 MB, free: 1.961 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.03297, allocations: 211.1 kB / 287.4 MB, free: 1.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.03309, allocations: 43.27 kB / 287.4 MB, free: 1.688 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.978e-05/0.03317, allocations: 28.48 kB / 287.4 MB, free: 1.66 MB / 266.7 MB Notification: Performance of SimCode: time 4.4e-07/0.03317, allocations: 4 kB / 287.5 MB, free: 1.656 MB / 266.7 MB Notification: Performance of Templates: time 0.008078/0.04125, allocations: 2.691 MB / 290.1 MB, free: 15.02 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.296882058959454]