Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 214.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.88 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2022, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003919/0.2062, allocations: 3.061 MB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.2079, allocations: 1.029 MB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.2081, allocations: 11.94 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.2084, allocations: 95.05 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.2086, allocations: 99.02 kB / 414.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.2091, allocations: 223.6 kB / 414.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.2097, allocations: 0.5526 MB / 415 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.2101, allocations: 222.6 kB / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.2103, allocations: 179.3 kB / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.2105, allocations: 183 kB / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.68e-05/0.2106, allocations: 40 kB / 415.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.2107, allocations: 55.94 kB / 415.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.2108, allocations: 91.62 kB / 415.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.211, allocations: 226.7 kB / 416 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.2115, allocations: 0.581 MB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2116, allocations: 0 / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2116, allocations: 0 / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.2116, allocations: 3.938 kB / 416.5 MB, free: 10.96 MB / 334.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.0009452/0.2125, allocations: 0.7445 MB / 417.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2126, allocations: 8.031 kB / 417.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.2128, allocations: 71.92 kB / 417.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.2134, allocations: 426.2 kB / 417.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.2134, allocations: 29 kB / 417.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.2135, allocations: 44 kB / 417.9 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.2142, allocations: 487.3 kB / 418.3 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.2142, allocations: 7.938 kB / 418.3 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.2142, allocations: 20 kB / 418.4 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.2143, allocations: 15.94 kB / 418.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.2147, allocations: 246.1 kB / 418.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.2168, allocations: 2.819 MB / 421.4 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.2172, allocations: 158.7 kB / 421.6 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.2174, allocations: 76.77 kB / 421.7 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.2175, allocations: 85.09 kB / 421.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.2175, allocations: 34.5 kB / 421.8 MB, free: 5.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.013e-06/0.2176, allocations: 4 kB / 421.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001202/0.2188, allocations: 0.6219 MB / 422.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.2188, allocations: 55.41 kB / 422.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.2191, allocations: 345.6 kB / 422.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.2192, allocations: 25.7 kB / 422.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.2193, allocations: 307 kB / 423.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.2194, allocations: 63.05 kB / 423.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.648e-05/0.2195, allocations: 69.56 kB / 423.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.2196, allocations: 350.7 kB / 423.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.2198, allocations: 71.89 kB / 423.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.22, allocations: 211.5 kB / 423.9 MB, free: 3.113 MB / 334.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.0009004/0.2209, allocations: 0.5135 MB / 424.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2209, allocations: 4 kB / 424.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005673/0.2215, allocations: 359.7 kB / 424.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2215, allocations: 8 kB / 424.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.2215, allocations: 8 kB / 424.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/0.2217, allocations: 40.78 kB / 424.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.2219, allocations: 72.44 kB / 424.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.2231, allocations: 1.646 MB / 426.5 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.2233, allocations: 16.06 kB / 426.5 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.2234, allocations: 16 kB / 426.5 MB, free: 208 kB / 334.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.0001684/0.2235, allocations: 173.6 kB / 426.7 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.45e-05/0.2236, allocations: 39.64 kB / 426.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.2237, allocations: 39.59 kB / 426.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2237, allocations: 0 / 426.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2237, allocations: 0 / 426.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.2238, allocations: 108.6 kB / 426.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.2238, allocations: 11.94 kB / 426.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.2239, allocations: 4 kB / 426.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.224, allocations: 11.98 kB / 426.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005282/0.2245, allocations: 284.8 kB / 427.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004625/0.225, allocations: 422.1 kB / 427.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001122/0.2251, allocations: 55.97 kB / 427.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002152/0.2253, allocations: 235.2 kB / 427.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of Backend: time 1.91e-07/0.2253, allocations: 4 kB / 427.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007397/0.2261, allocations: 353.1 kB / 428.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of SimCode: time 0.001318/0.2274, allocations: 1.299 MB / 429.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Templates: time 0.006666/0.2341, allocations: 2.89 MB / 432.4 MB, free: 10.19 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches