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.001052/0.001052, allocations: 95.69 kB / 16.93 MB, free: 5.984 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.001326/0.001326, allocations: 179.6 kB / 17.82 MB, free: 5.652 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.671/1.671, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005823/0.0005828, allocations: 12 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1094, allocations: 47.57 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003495/0.113, allocations: 2.496 MB / 330.8 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.1153, allocations: 0.9646 MB / 331.8 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.1157, allocations: 7.938 kB / 331.8 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.1159, allocations: 39.58 kB / 331.8 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.1162, allocations: 123.6 kB / 331.9 MB, free: 464 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006312/0.1169, allocations: 143.8 kB / 332.1 MB, free: 320 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.1174, allocations: 371.2 kB / 332.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.1178, allocations: 162 kB / 332.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.1179, allocations: 123.4 kB / 332.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.1181, allocations: 151 kB / 332.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.1182, allocations: 12 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/0.1183, allocations: 27.98 kB / 332.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.1183, allocations: 51.72 kB / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.303e-05/0.1184, allocations: 113.4 kB / 333.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.1188, allocations: 399.2 kB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1188, allocations: 0 / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1188, allocations: 0 / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1188, allocations: 0 / 333.5 MB, free: 14.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.0008918/0.1197, allocations: 0.6548 MB / 334.1 MB, free: 14.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1198, allocations: 16.02 kB / 334.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.1199, allocations: 55.25 kB / 334.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.1204, allocations: 382.7 kB / 334.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.1204, allocations: 36.89 kB / 334.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-05/0.1205, allocations: 44 kB / 334.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008372/0.1214, allocations: 483.3 kB / 335.1 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.1214, allocations: 3.984 kB / 335.1 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.1215, allocations: 31.94 kB / 335.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.1215, allocations: 11.94 kB / 335.2 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.122, allocations: 238.3 kB / 335.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.1243, allocations: 2.827 MB / 338.2 MB, free: 9.848 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.1247, allocations: 170.7 kB / 338.4 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.1249, allocations: 85.09 kB / 338.5 MB, free: 9.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1249, allocations: 38.52 kB / 338.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 2.945e-06/0.125, allocations: 0 / 338.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0013/0.1263, allocations: 0.6372 MB / 339.1 MB, free: 8.832 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1263, allocations: 55.41 kB / 339.2 MB, free: 8.766 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.1267, allocations: 345.5 kB / 339.5 MB, free: 8.418 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1267, allocations: 25.7 kB / 339.6 MB, free: 8.387 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.1269, allocations: 295.1 kB / 339.9 MB, free: 8.094 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.127, allocations: 67.03 kB / 339.9 MB, free: 8.027 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.127, allocations: 12 kB / 339.9 MB, free: 8.016 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.1272, allocations: 350.8 kB / 340.3 MB, free: 7.664 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.1274, allocations: 75.7 kB / 340.3 MB, free: 7.59 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.1276, allocations: 211.8 kB / 340.6 MB, free: 7.312 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: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/0.1283, allocations: 277.6 kB / 340.8 MB, free: 7.023 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1283, allocations: 4 kB / 340.8 MB, free: 7.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006357/0.1289, allocations: 357.5 kB / 341.2 MB, free: 6.66 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.1289, allocations: 14.8 kB / 341.2 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.129, allocations: 4 kB / 341.2 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/0.1291, allocations: 36.84 kB / 341.2 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.1294, allocations: 76.47 kB / 341.3 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.1307, allocations: 1.471 MB / 342.8 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.1309, allocations: 24.05 kB / 342.8 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.1309, allocations: 24 kB / 342.8 MB, free: 4.875 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 sytem: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002159/0.1311, allocations: 174 kB / 343 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.1312, allocations: 35.81 kB / 343 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.1313, allocations: 39.55 kB / 343.1 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/0.1313, allocations: 7.984 kB / 343.1 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1313, allocations: 4 kB / 343.1 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1313, allocations: 0 / 343.1 MB, free: 4.609 MB / 286.1 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.001119/0.1324, allocations: 0.7641 MB / 343.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1324, allocations: 0 / 343.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.1326, allocations: 39.95 kB / 343.9 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.658e-05/0.1327, allocations: 28.78 kB / 343.9 MB, free: 3.688 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1327, allocations: 4 kB / 343.9 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009991/0.1337, allocations: 1.335 MB / 345.2 MB, free: 2.215 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1338, allocations: 0 / 345.2 MB, free: 2.215 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.1343, allocations: 378.4 kB / 345.6 MB, free: 1.816 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.848e-05/0.1344, allocations: 108.6 kB / 345.7 MB, free: 1.691 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1344, allocations: 7.891 kB / 345.7 MB, free: 1.684 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.1345, allocations: 16.03 kB / 345.7 MB, free: 1.668 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.1346, allocations: 8.359 kB / 345.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1346, allocations: 8 kB / 345.8 MB, free: 1.652 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.1348, allocations: 231.2 kB / 346 MB, free: 1.426 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1349, allocations: 0 / 346 MB, free: 1.426 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004199/0.1353, allocations: 72 kB / 346.1 MB, free: 1.355 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001239/0.1354, allocations: 99.03 kB / 346.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000576/0.136, allocations: 315.7 kB / 346.5 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.136, allocations: 0 / 346.5 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.1362, allocations: 186.6 kB / 346.6 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.1365, allocations: 33.55 kB / 346.7 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.138, allocations: 1.047 MB / 347.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.1385, allocations: 0.8262 MB / 348.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.1386, allocations: 43.2 kB / 348.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.1387, allocations: 35.42 kB / 348.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1387, allocations: 0 / 348.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of Templates: time 0.006281/0.145, allocations: 2.46 MB / 351.1 MB, free: 12.23 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches