Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008949/0.0008952, allocations: 91.62 kB / 16.3 MB, free: 5.996 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.00086/0.00086, allocations: 188.1 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 241.1 MB, free: 5.363 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000222/0.000222, allocations: 6.562 kB / 300.7 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08111/0.08135, allocations: 50.41 MB / 351.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002419/0.08381, allocations: 2.488 MB / 353.6 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.08499, allocations: 0.9246 MB / 354.5 MB, free: 8.254 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.08515, allocations: 11.94 kB / 354.6 MB, free: 8.242 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.101e-05/0.08522, allocations: 43.56 kB / 354.6 MB, free: 8.199 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.08542, allocations: 127.5 kB / 354.7 MB, free: 8.074 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.08573, allocations: 143.8 kB / 354.9 MB, free: 7.934 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000375/0.08612, allocations: 371.1 kB / 355.2 MB, free: 7.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.08635, allocations: 154.3 kB / 355.4 MB, free: 7.398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.0865, allocations: 143.2 kB / 355.5 MB, free: 7.258 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.08665, allocations: 139.2 kB / 355.6 MB, free: 7.121 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.08669, allocations: 19.94 kB / 355.7 MB, free: 7.102 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.186e-05/0.08677, allocations: 19.98 kB / 355.7 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.08682, allocations: 59.72 kB / 355.7 MB, free: 7.023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.937e-05/0.08689, allocations: 105.5 kB / 355.8 MB, free: 6.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.08721, allocations: 402.9 kB / 356.2 MB, free: 6.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.08722, allocations: 0 / 356.2 MB, free: 6.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08723, allocations: 0 / 356.2 MB, free: 6.52 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.08724, allocations: 0 / 356.2 MB, free: 6.52 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.0007395/0.08798, allocations: 0.6586 MB / 356.9 MB, free: 5.812 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.08802, allocations: 8.031 kB / 356.9 MB, free: 5.805 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.0881, allocations: 59.3 kB / 357 MB, free: 5.746 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.08857, allocations: 390.6 kB / 357.3 MB, free: 5.328 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.0886, allocations: 29 kB / 357.4 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.08867, allocations: 44 kB / 357.4 MB, free: 5.258 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.08929, allocations: 475.4 kB / 357.9 MB, free: 4.719 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.08932, allocations: 7.938 kB / 357.9 MB, free: 4.711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.08936, allocations: 24 kB / 357.9 MB, free: 4.688 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.08937, allocations: 12 kB / 357.9 MB, free: 4.676 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.08981, allocations: 250.1 kB / 358.2 MB, free: 4.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.09177, allocations: 2.827 MB / 361 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.09218, allocations: 178.6 kB / 361.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.09233, allocations: 89.08 kB / 361.3 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.09237, allocations: 34.56 kB / 361.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.09237, allocations: 0 / 361.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001198/0.09358, allocations: 0.6345 MB / 361.9 MB, free: 448 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.09362, allocations: 55.39 kB / 362 MB, free: 380 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.09393, allocations: 349.5 kB / 362.3 MB, free: 16 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.09397, allocations: 25.7 kB / 362.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.09414, allocations: 299 kB / 362.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.09419, allocations: 71.09 kB / 362.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.09421, allocations: 8 kB / 362.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.09433, allocations: 346.8 kB / 363.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.09446, allocations: 71.84 kB / 363.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.09466, allocations: 207.9 kB / 363.3 MB, free: 14.92 MB / 302.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.0005572/0.09523, allocations: 283.8 kB / 363.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.09524, allocations: 0 / 363.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005095/0.09575, allocations: 364.2 kB / 364 MB, free: 14.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.09578, allocations: 8 kB / 364 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.0958, allocations: 8 kB / 364 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001181/0.09592, allocations: 40.78 kB / 364 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.09616, allocations: 72.55 kB / 364.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.09723, allocations: 1.471 MB / 365.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.09741, allocations: 24.33 kB / 365.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.09744, allocations: 16 kB / 365.6 MB, free: 12.49 MB / 302.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.0001587/0.0976, allocations: 169.7 kB / 365.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.09765, allocations: 35.53 kB / 365.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.63e-05/0.09773, allocations: 47.56 kB / 365.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.09773, allocations: 4 kB / 365.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.09774, allocations: 0 / 365.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.09775, allocations: 0 / 365.8 MB, free: 12.22 MB / 302.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.0008665/0.09862, allocations: 0.7679 MB / 366.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.09864, allocations: 4 kB / 366.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.09881, allocations: 36.02 kB / 366.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-05/0.09889, allocations: 28.8 kB / 366.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.09892, allocations: 7.938 kB / 366.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007708/0.09969, allocations: 1.335 MB / 368 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.09971, allocations: 4.031 kB / 368 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.1002, allocations: 382.3 kB / 368.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.1002, allocations: 101.1 kB / 368.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1003, allocations: 4 kB / 368.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1004, allocations: 8 kB / 368.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.1005, allocations: 15.97 kB / 368.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.1005, allocations: 8 kB / 368.5 MB, free: 9.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.1007, allocations: 231.1 kB / 368.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1007, allocations: 4 kB / 368.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.1011, allocations: 71.95 kB / 368.8 MB, free: 8.969 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 (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 8.768e-05/0.1012, allocations: 103.2 kB / 368.9 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004872/0.1017, allocations: 329.4 kB / 369.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1017, allocations: 0 / 369.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.1019, allocations: 177.2 kB / 369.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.1021, allocations: 45.42 kB / 369.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.1034, allocations: 1.04 MB / 370.5 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1037, allocations: 0.8226 MB / 371.3 MB, free: 6.375 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.1038, allocations: 43.2 kB / 371.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.1039, allocations: 35.42 kB / 371.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1039, allocations: 0 / 371.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of Templates: time 0.00551/0.1094, allocations: 2.459 MB / 373.9 MB, free: 3.859 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches