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.001526/0.001526, allocations: 112.7 kB / 17.74 MB, free: 5.328 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.001688/0.001688, allocations: 187 kB / 18.68 MB, free: 4.398 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: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009915/0.0009915, allocations: 59.91 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2132, allocations: 49.42 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004033/0.2173, allocations: 3.066 MB / 404.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.2189, allocations: 0.9669 MB / 405.4 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.2192, allocations: 11.94 kB / 405.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.2194, allocations: 99.03 kB / 405.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.2197, allocations: 95.02 kB / 405.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.2202, allocations: 211.6 kB / 405.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005632/0.2207, allocations: 0.5487 MB / 406.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.2211, allocations: 226.7 kB / 406.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.2213, allocations: 179.2 kB / 406.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.2215, allocations: 179 kB / 407 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.2216, allocations: 36 kB / 407 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.2217, allocations: 51.98 kB / 407 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.2218, allocations: 91.62 kB / 407.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.222, allocations: 226.7 kB / 407.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005736/0.2226, allocations: 0.5754 MB / 407.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.2226, allocations: 8 kB / 407.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2226, allocations: 0 / 407.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.2226, allocations: 0 / 407.9 MB, free: 2.328 MB / 318.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.0009518/0.2236, allocations: 0.7555 MB / 408.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2236, allocations: 11.89 kB / 408.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.2237, allocations: 64.31 kB / 408.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005577/0.2243, allocations: 422.6 kB / 409.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.2243, allocations: 33 kB / 409.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.2244, allocations: 43.94 kB / 409.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/0.2251, allocations: 483.4 kB / 409.7 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.2251, allocations: 4 kB / 409.7 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.2252, allocations: 20 kB / 409.7 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.2252, allocations: 16 kB / 409.8 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.2257, allocations: 246.1 kB / 410 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.2278, allocations: 2.819 MB / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.2282, allocations: 166.5 kB / 413 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.2284, allocations: 76.88 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.2285, allocations: 85.09 kB / 413.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.2286, allocations: 34.5 kB / 413.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.2286, allocations: 0 / 413.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001214/0.2298, allocations: 0.6193 MB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.2298, allocations: 59.41 kB / 413.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.2302, allocations: 349.6 kB / 414.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2302, allocations: 25.7 kB / 414.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.2304, allocations: 315.7 kB / 414.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.2304, allocations: 59.48 kB / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-05/0.2305, allocations: 73.58 kB / 414.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2307, allocations: 350.7 kB / 415 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.2308, allocations: 63.97 kB / 415.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.2311, allocations: 223.5 kB / 415.3 MB, free: 10.45 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.0009123/0.232, allocations: 0.5094 MB / 415.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.232, allocations: 4 kB / 415.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005819/0.2326, allocations: 364.8 kB / 416.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2326, allocations: 4 kB / 416.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.2326, allocations: 12.03 kB / 416.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.2328, allocations: 40.78 kB / 416.2 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.233, allocations: 71.84 kB / 416.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.2343, allocations: 1.631 MB / 417.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.2344, allocations: 12 kB / 417.9 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.2345, allocations: 16 kB / 417.9 MB, free: 7.551 MB / 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.0001806/0.2347, allocations: 180.1 kB / 418.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.2347, allocations: 47.77 kB / 418.2 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.251e-05/0.2348, allocations: 39.59 kB / 418.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2348, allocations: 0 / 418.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2348, allocations: 0 / 418.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.2349, allocations: 108.9 kB / 418.3 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.2349, allocations: 4 kB / 418.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.235, allocations: 4 kB / 418.3 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.2351, allocations: 7.984 kB / 418.3 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005561/0.2357, allocations: 289.6 kB / 418.6 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004846/0.2361, allocations: 424.5 kB / 419 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001186/0.2363, allocations: 59.95 kB / 419.1 MB, free: 6.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002276/0.2365, allocations: 231.2 kB / 419.3 MB, free: 6.133 MB / 334.1 MB Notification: Performance of Backend: time 3.5e-07/0.2365, allocations: 4 kB / 419.3 MB, free: 6.129 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007645/0.2373, allocations: 358.2 kB / 419.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of SimCode: time 0.001358/0.2387, allocations: 1.316 MB / 421 MB, free: 4.395 MB / 334.1 MB Notification: Performance of Templates: time 0.006732/0.2454, allocations: 2.841 MB / 423.8 MB, free: 1.566 MB / 334.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/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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches