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.00154/0.00154, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 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.001627/0.001627, allocations: 196.4 kB / 22.22 MB, free: 68 kB / 14.72 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.405/1.405, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 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 0.001506/0.001506, allocations: 51.91 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.25, allocations: 52.14 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004556/0.2545, allocations: 3.091 MB / 423.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.2564, allocations: 0.9747 MB / 424.9 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.2566, allocations: 11.94 kB / 424.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.2569, allocations: 95.03 kB / 425 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.2571, allocations: 103 kB / 425.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.2576, allocations: 215.6 kB / 425.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006351/0.2582, allocations: 0.5449 MB / 425.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.2586, allocations: 150.7 kB / 426 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.2588, allocations: 179.2 kB / 426.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.259, allocations: 179 kB / 426.4 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.466e-05/0.2591, allocations: 36 kB / 426.4 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.2592, allocations: 48 kB / 426.5 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.485e-05/0.2593, allocations: 91.62 kB / 426.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.2595, allocations: 230.7 kB / 426.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006857/0.2601, allocations: 0.5817 MB / 427.4 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2602, allocations: 0 / 427.4 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2602, allocations: 0 / 427.4 MB, free: 8.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.2602, allocations: 0 / 427.4 MB, free: 8.551 MB / 334.1 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.00108/0.2612, allocations: 0.7671 MB / 428.1 MB, free: 7.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2613, allocations: 11.89 kB / 428.1 MB, free: 7.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.15e-05/0.2614, allocations: 68.12 kB / 428.2 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.262, allocations: 418.6 kB / 428.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.262, allocations: 33 kB / 428.6 MB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/0.2621, allocations: 40 kB / 428.7 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008193/0.2629, allocations: 491.4 kB / 429.2 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.2629, allocations: 0 / 429.2 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.263, allocations: 24 kB / 429.2 MB, free: 6.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.263, allocations: 8 kB / 429.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.2635, allocations: 250.1 kB / 429.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.2659, allocations: 2.819 MB / 432.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.2663, allocations: 154.6 kB / 432.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.2665, allocations: 65.16 kB / 432.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.2666, allocations: 85.05 kB / 432.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2666, allocations: 38.5 kB / 432.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.2666, allocations: 0 / 432.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001262/0.2679, allocations: 0.6259 MB / 433.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.2679, allocations: 55.34 kB / 433.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.2683, allocations: 345.6 kB / 433.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2683, allocations: 29.7 kB / 433.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.2685, allocations: 315.7 kB / 433.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.204e-05/0.2686, allocations: 59.48 kB / 434 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.182e-05/0.2687, allocations: 65.66 kB / 434.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2688, allocations: 350.7 kB / 434.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.269, allocations: 67.97 kB / 434.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.2692, allocations: 219.5 kB / 434.7 MB, free: 0.6875 MB / 334.1 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.0009795/0.2702, allocations: 0.5151 MB / 435.2 MB, free: 88 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2702, allocations: 7.938 kB / 435.2 MB, free: 80 kB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005961/0.2708, allocations: 365 kB / 435.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2708, allocations: 8 kB / 435.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.2708, allocations: 8 kB / 435.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.2709, allocations: 32.84 kB / 435.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.2712, allocations: 75.73 kB / 435.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.2726, allocations: 1.639 MB / 437.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.2727, allocations: 16 kB / 437.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.2728, allocations: 12 kB / 437.4 MB, free: 13.78 MB / 350.1 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.0002049/0.273, allocations: 177.7 kB / 437.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.273, allocations: 47.69 kB / 437.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.774e-05/0.2731, allocations: 35.59 kB / 437.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2731, allocations: 0 / 437.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2731, allocations: 0 / 437.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2731, allocations: 0 / 437.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009894/0.2741, allocations: 0.7142 MB / 438.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2741, allocations: 4 kB / 438.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.2743, allocations: 31.98 kB / 438.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-05/0.2744, allocations: 24.84 kB / 438.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.2744, allocations: 8 kB / 438.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.2755, allocations: 1.43 MB / 439.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2755, allocations: 0 / 439.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.276, allocations: 369.3 kB / 440.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/0.2761, allocations: 108.9 kB / 440.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.2761, allocations: 4 kB / 440.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.2763, allocations: 8 kB / 440.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.2763, allocations: 11.97 kB / 440.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.2763, allocations: 11.92 kB / 440.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002483/0.2766, allocations: 235.2 kB / 440.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2766, allocations: 4 kB / 440.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004218/0.277, allocations: 64 kB / 440.6 MB, free: 10.24 MB / 350.1 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.0001175/0.2771, allocations: 99.25 kB / 440.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005596/0.2777, allocations: 303.6 kB / 441 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2777, allocations: 8 kB / 441 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.2779, allocations: 178.5 kB / 441.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.2782, allocations: 48.36 kB / 441.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2797, allocations: 0.8555 MB / 442.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.2801, allocations: 0.8146 MB / 442.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.2802, allocations: 35.27 kB / 442.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.2803, allocations: 35.41 kB / 443 MB, free: 7.789 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2803, allocations: 3.938 kB / 443 MB, free: 7.785 MB / 350.1 MB Notification: Performance of Templates: time 0.00723/0.2875, allocations: 2.873 MB / 445.9 MB, free: 4.93 MB / 350.1 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.372448470443487]