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.002251/0.002251, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002074/0.002074, allocations: 159.9 kB / 25.03 MB, free: 8.926 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 1.513/1.513, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.824e-06/1.824e-06, allocations: 0 / 250.3 MB, free: 7.867 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.535e-05/3.717e-05, allocations: 10.11 kB / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005238/0.005275, allocations: 2.958 MB / 253.3 MB, free: 4.879 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.007508, allocations: 0.9951 MB / 254.3 MB, free: 3.879 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.007709, allocations: 19.81 kB / 254.3 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.007986, allocations: 91.11 kB / 254.4 MB, free: 3.77 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.008203, allocations: 106.9 kB / 254.5 MB, free: 3.664 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/0.008793, allocations: 227.5 kB / 254.7 MB, free: 3.438 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000693/0.009486, allocations: 0.5524 MB / 255.3 MB, free: 2.883 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.009803, allocations: 139.2 kB / 255.4 MB, free: 2.738 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/0.01024, allocations: 271.4 kB / 255.7 MB, free: 2.473 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.01046, allocations: 127.5 kB / 255.8 MB, free: 2.348 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.776e-05/0.01053, allocations: 36 kB / 255.8 MB, free: 2.312 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.01066, allocations: 44 kB / 255.9 MB, free: 2.27 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.01076, allocations: 91.61 kB / 256 MB, free: 2.18 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.01094, allocations: 147.6 kB / 256.1 MB, free: 2.035 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007931/0.01173, allocations: 0.576 MB / 256.7 MB, free: 1.457 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.01174, allocations: 0 / 256.7 MB, free: 1.457 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.01174, allocations: 0 / 256.7 MB, free: 1.457 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.01175, allocations: 0 / 256.7 MB, free: 1.457 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.001461/0.01321, allocations: 0.8073 MB / 257.5 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.01326, allocations: 11.98 kB / 257.5 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.01342, allocations: 92.36 kB / 257.6 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007237/0.01415, allocations: 390.2 kB / 258 MB, free: 104 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.01418, allocations: 29 kB / 258 MB, free: 76 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.969e-05/0.01425, allocations: 36 kB / 258.1 MB, free: 40 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009881/0.01524, allocations: 0.5591 MB / 258.6 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.01527, allocations: 7.953 kB / 258.6 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.01531, allocations: 16 kB / 258.6 MB, free: 15.35 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.01533, allocations: 12 kB / 258.6 MB, free: 15.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005336/0.01586, allocations: 238.2 kB / 258.9 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/0.01965, allocations: 3.83 MB / 262.7 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.02018, allocations: 159.1 kB / 262.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.02033, allocations: 71.7 kB / 262.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.02043, allocations: 4 kB / 262.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.02047, allocations: 33.67 kB / 263 MB, free: 10.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.02047, allocations: 4 kB / 263 MB, free: 10.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.001446/0.02191, allocations: 0.5741 MB / 263.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.02196, allocations: 51.41 kB / 263.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006676/0.02263, allocations: 486.5 kB / 264.1 MB, free: 9.664 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.02267, allocations: 37.7 kB / 264.1 MB, free: 9.621 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.02301, allocations: 370.5 kB / 264.5 MB, free: 9.254 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.166e-05/0.0231, allocations: 79.39 kB / 264.6 MB, free: 9.176 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.02323, allocations: 79.31 kB / 264.6 MB, free: 9.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003629/0.0236, allocations: 0.5391 MB / 265.2 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.02375, allocations: 63.97 kB / 265.2 MB, free: 8.477 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.02412, allocations: 292.3 kB / 265.5 MB, free: 8.094 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.001078/0.0252, allocations: 0.508 MB / 266 MB, free: 7.488 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.0252, allocations: 4 kB / 266 MB, free: 7.484 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006638/0.02586, allocations: 373 kB / 266.4 MB, free: 7.109 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.02589, allocations: 15.38 kB / 266.4 MB, free: 7.098 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.0259, allocations: 4 kB / 266.4 MB, free: 7.094 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/0.0261, allocations: 43.67 kB / 266.5 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.02635, allocations: 67.91 kB / 266.5 MB, free: 6.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.02833, allocations: 2.129 MB / 268.7 MB, free: 4.727 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.02849, allocations: 20.12 kB / 268.7 MB, free: 4.707 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.02851, allocations: 12 kB / 268.7 MB, free: 4.695 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 0.0002707/0.02878, allocations: 220.4 kB / 268.9 MB, free: 4.469 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.02888, allocations: 43.91 kB / 268.9 MB, free: 4.426 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.333e-05/0.02896, allocations: 43.52 kB / 269 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.02896, allocations: 0 / 269 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.02897, allocations: 3.938 kB / 269 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.02898, allocations: 0 / 269 MB, free: 4.379 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.001217/0.03019, allocations: 0.7033 MB / 269.7 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.03019, allocations: 0 / 269.7 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.03038, allocations: 35.92 kB / 269.7 MB, free: 3.594 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.943e-05/0.03048, allocations: 31.67 kB / 269.8 MB, free: 3.559 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.03049, allocations: 0 / 269.8 MB, free: 3.559 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.03212, allocations: 1.83 MB / 271.6 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.03213, allocations: 3.938 kB / 271.6 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/0.03275, allocations: 427.3 kB / 272 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.03282, allocations: 31.95 kB / 272 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.03285, allocations: 7.938 kB / 272 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.03295, allocations: 0 / 272 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.03302, allocations: 23.95 kB / 272.1 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.03303, allocations: 4 kB / 272.1 MB, free: 1.094 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000326/0.03336, allocations: 299.1 kB / 272.4 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03336, allocations: 3.938 kB / 272.4 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004607/0.03382, allocations: 64 kB / 272.4 MB, free: 0.7344 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 0.0001484/0.03397, allocations: 103.2 kB / 272.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007031/0.03467, allocations: 377.3 kB / 272.9 MB, free: 240 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.03467, allocations: 0 / 272.9 MB, free: 240 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.03501, allocations: 253.5 kB / 273.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.03539, allocations: 38 kB / 273.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.03703, allocations: 0.7993 MB / 274 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.03729, allocations: 215.1 kB / 274.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.03742, allocations: 39.27 kB / 274.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-05/0.0375, allocations: 36.48 kB / 274.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.03751, allocations: 0 / 274.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of Templates: time 0.009028/0.04653, allocations: 2.703 MB / 277 MB, free: 12.11 MB / 266.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.80640167510137]