Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007721/0.0007721, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.002992/0.002992, allocations: 162.5 kB / 24.7 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8373/0.8373, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.261e-05, allocations: 6.281 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002624/0.002647, allocations: 2.839 MB / 328.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.003788, allocations: 0.9901 MB / 329.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.003933, allocations: 15.88 kB / 329.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.004121, allocations: 107 kB / 329.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.004237, allocations: 102.9 kB / 329.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.004632, allocations: 231.5 kB / 330.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000386/0.005018, allocations: 0.553 MB / 330.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.005227, allocations: 147.2 kB / 330.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.005484, allocations: 275.3 kB / 331 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.005607, allocations: 119.5 kB / 331.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.005642, allocations: 36 kB / 331.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.46e-05/0.005727, allocations: 55.98 kB / 331.3 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.00578, allocations: 95.59 kB / 331.3 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.005864, allocations: 139.6 kB / 331.5 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004108/0.006274, allocations: 0.5799 MB / 332.1 MB, free: 9.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.006278, allocations: 4 kB / 332.1 MB, free: 9.168 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006278, allocations: 0 / 332.1 MB, free: 9.168 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.006284, allocations: 0 / 332.1 MB, free: 9.168 MB / 298.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.0006391/0.006923, allocations: 0.6792 MB / 332.7 MB, free: 8.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.006955, allocations: 12.03 kB / 332.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.007081, allocations: 76.3 kB / 332.8 MB, free: 8.371 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.007463, allocations: 339.5 kB / 333.2 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.007485, allocations: 37 kB / 333.2 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.007531, allocations: 43.95 kB / 333.2 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.008008, allocations: 491.4 kB / 333.7 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.008026, allocations: 4 kB / 333.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.008048, allocations: 16 kB / 333.7 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.008058, allocations: 12 kB / 333.8 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.00836, allocations: 242.2 kB / 334 MB, free: 7.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.00967, allocations: 2.634 MB / 336.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.00997, allocations: 162.7 kB / 336.8 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.01005, allocations: 60.84 kB / 336.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.978e-05/0.01014, allocations: 7.984 kB / 336.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.01016, allocations: 30.56 kB / 336.9 MB, free: 4.074 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.01016, allocations: 0 / 336.9 MB, free: 4.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007916/0.01095, allocations: 0.5662 MB / 337.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.01098, allocations: 55.41 kB / 337.5 MB, free: 3.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.01121, allocations: 357.5 kB / 337.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.01122, allocations: 25.7 kB / 337.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.01135, allocations: 307.7 kB / 338.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.01139, allocations: 67.47 kB / 338.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.01145, allocations: 69.61 kB / 338.3 MB, free: 2.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.881e-05/0.01153, allocations: 346.8 kB / 338.6 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.01162, allocations: 71.73 kB / 338.7 MB, free: 2.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.01176, allocations: 218 kB / 338.9 MB, free: 1.871 MB / 298.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.000535/0.01229, allocations: 447.2 kB / 339.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.0123, allocations: 0 / 339.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003501/0.01265, allocations: 360.6 kB / 339.7 MB, free: 1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.01266, allocations: 11.94 kB / 339.7 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01267, allocations: 7.938 kB / 339.7 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001061/0.01278, allocations: 36.84 kB / 339.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.0129, allocations: 68.59 kB / 339.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008068/0.01371, allocations: 1.508 MB / 341.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.993e-05/0.01379, allocations: 15.98 kB / 341.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.0138, allocations: 16 kB / 341.4 MB, free: 15.23 MB / 314.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.0001274/0.01393, allocations: 165.7 kB / 341.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.01396, allocations: 35.77 kB / 341.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.014, allocations: 47.45 kB / 341.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.014, allocations: 4.062 kB / 341.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.01401, allocations: 3.938 kB / 341.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.01401, allocations: 0 / 341.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.01452, allocations: 0.5583 MB / 342.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.01452, allocations: 4 kB / 342.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.215e-05/0.01462, allocations: 31.98 kB / 342.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.076e-05/0.01468, allocations: 32.78 kB / 342.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01469, allocations: 4 kB / 342.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005605/0.01525, allocations: 1.301 MB / 343.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01525, allocations: 7.875 kB / 343.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.01555, allocations: 368.3 kB / 343.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.01557, allocations: 27.77 kB / 344 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.01559, allocations: 3.938 kB / 344 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.01564, allocations: 12.03 kB / 344 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.01568, allocations: 15.92 kB / 344 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.01568, allocations: 4.062 kB / 344 MB, free: 12.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000146/0.01583, allocations: 243.2 kB / 344.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01583, allocations: 0 / 344.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.01608, allocations: 68 kB / 344.3 MB, free: 12.14 MB / 314.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.702e-05/0.01616, allocations: 102.2 kB / 344.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003504/0.01651, allocations: 303.4 kB / 344.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01651, allocations: 0 / 344.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.01663, allocations: 174.6 kB / 344.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.01685, allocations: 37.48 kB / 344.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008763/0.01772, allocations: 0.8097 MB / 345.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.01786, allocations: 211.2 kB / 345.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.01791, allocations: 40.48 kB / 346 MB, free: 10.39 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01791, allocations: 3.938 kB / 346 MB, free: 10.38 MB / 314.7 MB Notification: Performance of Templates: time 0.005459/0.02337, allocations: 6.649 MB / 352.6 MB, free: 3.723 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.602549557574093]