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.001057/0.001057, allocations: 104.6 kB / 17.93 MB, free: 5.664 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.001187/0.001187, allocations: 193.8 kB / 18.86 MB, free: 4.738 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.484/1.484, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001307/0.001307, allocations: 51.92 kB / 280.8 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09821/0.09953, allocations: 46.64 MB / 327.4 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004843/0.1044, allocations: 3.085 MB / 330.5 MB, free: 1.684 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.1066, allocations: 0.9874 MB / 331.5 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004642/0.1071, allocations: 7.938 kB / 331.5 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.1075, allocations: 75.36 kB / 331.6 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.1078, allocations: 79.33 kB / 331.7 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.1084, allocations: 191.8 kB / 331.9 MB, free: 352 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005753/0.109, allocations: 0.5448 MB / 332.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.1094, allocations: 218.7 kB / 332.6 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.1096, allocations: 175.3 kB / 332.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1098, allocations: 174.9 kB / 333 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.1099, allocations: 40 kB / 333 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.11, allocations: 51.98 kB / 333 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.1101, allocations: 87.64 kB / 333.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.1103, allocations: 226.7 kB / 333.3 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.1107, allocations: 455.2 kB / 333.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1107, allocations: 0 / 333.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1107, allocations: 0 / 333.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.1108, allocations: 0 / 333.8 MB, free: 14.39 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.0009577/0.1117, allocations: 0.7406 MB / 334.5 MB, free: 13.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1118, allocations: 15.83 kB / 334.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.927e-05/0.1119, allocations: 63.94 kB / 334.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.1124, allocations: 398.4 kB / 335 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.1124, allocations: 29 kB / 335 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.1125, allocations: 40 kB / 335.1 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007292/0.1132, allocations: 491.2 kB / 335.5 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.1133, allocations: 4 kB / 335.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.1133, allocations: 16 kB / 335.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.1133, allocations: 15.98 kB / 335.6 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.1138, allocations: 254.1 kB / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.116, allocations: 2.827 MB / 338.7 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.1164, allocations: 162.7 kB / 338.8 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.1165, allocations: 72.83 kB / 338.9 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.1168, allocations: 93.03 kB / 339 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.221e-05/0.1169, allocations: 42.5 kB / 339 MB, free: 8.809 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 3.607e-06/0.1169, allocations: 0 / 339 MB, free: 8.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001249/0.1181, allocations: 0.6217 MB / 339.6 MB, free: 8.133 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1182, allocations: 55.34 kB / 339.7 MB, free: 8.066 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.1185, allocations: 349.5 kB / 340 MB, free: 7.715 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.1185, allocations: 33.7 kB / 340.1 MB, free: 7.676 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.1187, allocations: 295 kB / 340.4 MB, free: 7.383 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.1188, allocations: 63.11 kB / 340.4 MB, free: 7.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.628e-05/0.1189, allocations: 73.55 kB / 340.5 MB, free: 7.242 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.119, allocations: 350.7 kB / 340.8 MB, free: 6.891 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.1192, allocations: 67.75 kB / 340.9 MB, free: 6.824 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.1194, allocations: 211.7 kB / 341.1 MB, free: 6.547 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.0008977/0.1203, allocations: 0.5082 MB / 341.6 MB, free: 5.949 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1203, allocations: 0 / 341.6 MB, free: 5.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005452/0.1209, allocations: 369.9 kB / 342 MB, free: 5.578 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1209, allocations: 8 kB / 342 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1209, allocations: 7.984 kB / 342 MB, free: 5.562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.1211, allocations: 32.84 kB / 342 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.1213, allocations: 75.91 kB / 342.1 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.1227, allocations: 1.639 MB / 343.7 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.1229, allocations: 24.05 kB / 343.8 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.1229, allocations: 16 kB / 343.8 MB, free: 3.633 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.000197/0.1231, allocations: 165.7 kB / 343.9 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.1232, allocations: 43.47 kB / 344 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.6e-05/0.1233, allocations: 35.58 kB / 344 MB, free: 3.383 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1233, allocations: 4 kB / 344 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1233, allocations: 0 / 344 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1233, allocations: 4 kB / 344 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009035/0.1242, allocations: 0.7113 MB / 344.7 MB, free: 2.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1242, allocations: 4 kB / 344.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.1244, allocations: 31.98 kB / 344.8 MB, free: 2.555 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.224e-05/0.1245, allocations: 32.88 kB / 344.8 MB, free: 2.52 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.1245, allocations: 8 kB / 344.8 MB, free: 2.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.1255, allocations: 1.43 MB / 346.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1256, allocations: 0 / 346.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005068/0.1261, allocations: 364.6 kB / 346.6 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.1261, allocations: 104.8 kB / 346.7 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1262, allocations: 15.88 kB / 346.7 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.1263, allocations: 15.91 kB / 346.7 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.1264, allocations: 15.91 kB / 346.7 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.1264, allocations: 7.938 kB / 346.8 MB, free: 400 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.1266, allocations: 235.2 kB / 347 MB, free: 164 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1266, allocations: 0 / 347 MB, free: 164 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004136/0.1271, allocations: 68 kB / 347 MB, free: 96 kB / 286.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.0001464/0.1272, allocations: 103.2 kB / 347.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006013/0.1278, allocations: 311.5 kB / 347.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1278, allocations: 4.25 kB / 347.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.1281, allocations: 187.2 kB / 347.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.1284, allocations: 29.56 kB / 347.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.1301, allocations: 1.068 MB / 348.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.1305, allocations: 0.8185 MB / 349.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/0.1306, allocations: 35.42 kB / 349.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1306, allocations: 0 / 349.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of Templates: time 0.008409/0.139, allocations: 6.375 MB / 356 MB, free: 7.062 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","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches