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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=2000,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=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 110.2 kB / 18.25 MB, free: 4.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 195.3 kB / 19.18 MB, free: 3.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.1 MB / 225 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 51.92 kB / 281.3 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1021, allocations: 46.63 MB / 327.9 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004617/0.1067, allocations: 3.043 MB / 331 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1087, allocations: 1.007 MB / 332 MB, free: 404 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.109, allocations: 11.94 kB / 332 MB, free: 392 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.1093, allocations: 95.05 kB / 332.1 MB, free: 296 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1095, allocations: 91.02 kB / 332.2 MB, free: 204 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.11, allocations: 223.6 kB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005496/0.1106, allocations: 0.5488 MB / 333 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.1109, allocations: 218.7 kB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.1111, allocations: 171.3 kB / 333.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.1113, allocations: 182.9 kB / 333.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.1114, allocations: 40 kB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1115, allocations: 51.98 kB / 333.6 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.1116, allocations: 83.64 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.1118, allocations: 226.7 kB / 333.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005433/0.1124, allocations: 0.5569 MB / 334.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1124, allocations: 0 / 334.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1124, allocations: 0 / 334.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.1124, allocations: 0 / 334.5 MB, free: 13.91 MB / 286.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.000981/0.1134, allocations: 0.7483 MB / 335.2 MB, free: 13.12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1134, allocations: 11.89 kB / 335.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.1135, allocations: 63.94 kB / 335.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.1141, allocations: 394.4 kB / 335.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/0.1141, allocations: 33 kB / 335.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.1142, allocations: 36 kB / 335.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008728/0.1151, allocations: 0.4914 MB / 336.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.1151, allocations: 4 kB / 336.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.1152, allocations: 16 kB / 336.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.1152, allocations: 12 kB / 336.3 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.1157, allocations: 242.1 kB / 336.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.1179, allocations: 2.842 MB / 339.3 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.1184, allocations: 162.6 kB / 339.5 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1185, allocations: 72.83 kB / 339.6 MB, free: 8.473 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.1187, allocations: 81.11 kB / 339.7 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1188, allocations: 38.5 kB / 339.7 MB, free: 8.328 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.1188, allocations: 0 / 339.7 MB, free: 8.328 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001276/0.12, allocations: 0.6223 MB / 340.3 MB, free: 7.648 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1201, allocations: 59.34 kB / 340.4 MB, free: 7.578 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.1204, allocations: 349.5 kB / 340.7 MB, free: 7.227 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1205, allocations: 29.64 kB / 340.7 MB, free: 7.191 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.1207, allocations: 303 kB / 341 MB, free: 6.891 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.1207, allocations: 67.08 kB / 341.1 MB, free: 6.824 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.1208, allocations: 69.56 kB / 341.2 MB, free: 6.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.121, allocations: 350.7 kB / 341.5 MB, free: 6.398 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1211, allocations: 67.75 kB / 341.6 MB, free: 6.332 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1213, allocations: 215.5 kB / 341.8 MB, free: 6.051 MB / 286.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.0009192/0.1223, allocations: 0.512 MB / 342.3 MB, free: 5.449 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1223, allocations: 4 kB / 342.3 MB, free: 5.445 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005899/0.1229, allocations: 353.4 kB / 342.7 MB, free: 5.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1229, allocations: 15.95 kB / 342.7 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1229, allocations: 8 kB / 342.7 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.1231, allocations: 40.84 kB / 342.7 MB, free: 5.027 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.1233, allocations: 67.91 kB / 342.8 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.1247, allocations: 1.643 MB / 344.4 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.1248, allocations: 16 kB / 344.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.1249, allocations: 16 kB / 344.5 MB, free: 3.145 MB / 286.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.0002154/0.1251, allocations: 169.8 kB / 344.6 MB, free: 2.969 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.1251, allocations: 39.47 kB / 344.7 MB, free: 2.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.844e-05/0.1252, allocations: 43.58 kB / 344.7 MB, free: 2.887 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1252, allocations: 0 / 344.7 MB, free: 2.887 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1252, allocations: 0 / 344.7 MB, free: 2.887 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1252, allocations: 3.938 kB / 344.7 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/0.1262, allocations: 0.714 MB / 345.4 MB, free: 2.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1262, allocations: 0 / 345.4 MB, free: 2.094 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.1264, allocations: 31.98 kB / 345.5 MB, free: 2.062 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.639e-05/0.1265, allocations: 32.72 kB / 345.5 MB, free: 2.027 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1265, allocations: 4 kB / 345.5 MB, free: 2.023 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000975/0.1275, allocations: 1.43 MB / 346.9 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.1275, allocations: 4.031 kB / 346.9 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.128, allocations: 368.6 kB / 347.3 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.1281, allocations: 100.7 kB / 347.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.1282, allocations: 8 kB / 347.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1283, allocations: 0 / 347.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.1283, allocations: 27.86 kB / 347.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1284, allocations: 11.94 kB / 347.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.1286, allocations: 231.2 kB / 347.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1286, allocations: 0 / 347.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004367/0.129, allocations: 68 kB / 347.7 MB, free: 15.62 MB / 302.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.00013/0.1292, allocations: 99.23 kB / 347.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005795/0.1298, allocations: 318.7 kB / 348.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1298, allocations: 0 / 348.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.13, allocations: 178.6 kB / 348.3 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1303, allocations: 38.53 kB / 348.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.1318, allocations: 0.8859 MB / 349.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.1322, allocations: 0.8107 MB / 350 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.541e-05/0.1323, allocations: 31.42 kB / 350.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of SimCode: time 1.904e-06/0.1323, allocations: 0 / 350.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of Templates: time 0.0084/0.1408, allocations: 6.384 MB / 356.5 MB, free: 6.773 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches