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.001403/0.001403, allocations: 81.97 kB / 22.21 MB, free: 2.293 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.001106/0.001106, allocations: 165.6 kB / 25.61 MB, free: 8.883 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 1.02/1.02, allocations: 177.1 MB / 206 MB, free: 4.492 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.402e-06/1.402e-06, allocations: 0 / 274.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.247e-05, allocations: 2.312 kB / 274.2 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.0069/0.006922, allocations: 2.957 MB / 277.1 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.01155, allocations: 1.014 MB / 278.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.01174, allocations: 19.81 kB / 278.1 MB, free: 484 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.01198, allocations: 99.03 kB / 278.2 MB, free: 384 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.01215, allocations: 107.5 kB / 278.4 MB, free: 276 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.01265, allocations: 237.9 kB / 278.6 MB, free: 40 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005347/0.01319, allocations: 0.5602 MB / 279.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008998/0.01409, allocations: 147.1 kB / 279.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.01457, allocations: 283.3 kB / 279.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.01477, allocations: 119.6 kB / 279.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.436e-05/0.01482, allocations: 36 kB / 279.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.01495, allocations: 59.97 kB / 279.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-05/0.01502, allocations: 87.61 kB / 279.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.01515, allocations: 139.6 kB / 280 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004567/0.0156, allocations: 370.3 kB / 280.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.01561, allocations: 8 kB / 280.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01561, allocations: 0 / 280.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.01562, allocations: 0 / 280.4 MB, free: 14.24 MB / 266.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.0009023/0.01652, allocations: 0.7801 MB / 281.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.01656, allocations: 12.03 kB / 281.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.0168, allocations: 96.36 kB / 281.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.01737, allocations: 390.3 kB / 281.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.0174, allocations: 29 kB / 281.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.01746, allocations: 47.88 kB / 281.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.01804, allocations: 477.1 kB / 282.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.01806, allocations: 0 / 282.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.01809, allocations: 20 kB / 282.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.01811, allocations: 11.94 kB / 282.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.0184, allocations: 146.8 kB / 282.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003005/0.02141, allocations: 3.626 MB / 286 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.02169, allocations: 107.2 kB / 286.1 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.02173, allocations: 39.66 kB / 286.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/0.0218, allocations: 7.984 kB / 286.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.02182, allocations: 41.33 kB / 286.2 MB, free: 8.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.435e-06/0.02182, allocations: 0 / 286.2 MB, free: 8.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006902/0.02251, allocations: 400.8 kB / 286.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.02254, allocations: 55.41 kB / 286.6 MB, free: 7.598 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.02274, allocations: 390.4 kB / 287 MB, free: 7.203 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.02275, allocations: 29.7 kB / 287 MB, free: 7.168 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.02301, allocations: 358.4 kB / 287.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.02305, allocations: 63.47 kB / 287.4 MB, free: 6.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.02312, allocations: 75.27 kB / 287.5 MB, free: 6.664 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.02323, allocations: 0.5195 MB / 288 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.614e-05/0.02327, allocations: 31.92 kB / 288.1 MB, free: 6.102 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.0234, allocations: 248.5 kB / 288.3 MB, free: 5.762 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.0002883/0.02369, allocations: 369.6 kB / 288.7 MB, free: 5.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.02369, allocations: 0 / 288.7 MB, free: 5.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002738/0.02396, allocations: 292.5 kB / 288.9 MB, free: 5.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.02398, allocations: 8 kB / 289 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.02399, allocations: 4 kB / 289 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.0241, allocations: 40.28 kB / 289 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.02425, allocations: 79.83 kB / 289.1 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.02535, allocations: 2.013 MB / 291.1 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/0.02543, allocations: 12 kB / 291.1 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.02544, allocations: 16 kB / 291.1 MB, free: 2.723 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.0001103/0.02555, allocations: 184.3 kB / 291.3 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.02559, allocations: 43.75 kB / 291.3 MB, free: 2.488 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.02563, allocations: 39.56 kB / 291.4 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.02563, allocations: 4 kB / 291.4 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.02563, allocations: 0 / 291.4 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.02563, allocations: 0 / 291.4 MB, free: 2.449 MB / 266.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.0004557/0.02609, allocations: 0.508 MB / 291.9 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.02609, allocations: 0 / 291.9 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.02619, allocations: 36.06 kB / 291.9 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-05/0.02624, allocations: 23.66 kB / 291.9 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.02625, allocations: 11.94 kB / 292 MB, free: 1.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006282/0.02688, allocations: 1.738 MB / 293.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02688, allocations: 0 / 293.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.0271, allocations: 345.6 kB / 294 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.02713, allocations: 27.77 kB / 294.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.02714, allocations: 11.98 kB / 294.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.615e-05/0.0272, allocations: 0 / 294.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.02723, allocations: 11.98 kB / 294.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.02723, allocations: 4 kB / 294.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.02734, allocations: 255 kB / 294.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02734, allocations: 0 / 294.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002701/0.02761, allocations: 68 kB / 294.4 MB, free: 15.24 MB / 282.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 8.187e-05/0.02769, allocations: 99.19 kB / 294.5 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.02797, allocations: 310.5 kB / 294.8 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02798, allocations: 8 kB / 294.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.0281, allocations: 229.3 kB / 295 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.02833, allocations: 41.61 kB / 295.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.02936, allocations: 0.7832 MB / 295.9 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.242e-05/0.02942, allocations: 104.6 kB / 296 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.268e-05/0.02949, allocations: 43.27 kB / 296 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.02961, allocations: 126.2 kB / 296.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02961, allocations: 0 / 296.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of Templates: time 0.005765/0.03537, allocations: 3.018 MB / 299.1 MB, free: 10.46 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",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.778123972006142]