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.001528/0.001528, allocations: 107.4 kB / 18.4 MB, free: 4.691 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.00168/0.00168, allocations: 187.1 kB / 19.35 MB, free: 3.762 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.274/1.274, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.002069/0.002069, allocations: 55.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0718/0.07389, allocations: 46.61 MB / 375.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004076/0.078, allocations: 3.053 MB / 378.9 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.07978, allocations: 1.014 MB / 379.9 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.08005, allocations: 11.94 kB / 379.9 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.08035, allocations: 95.05 kB / 380 MB, free: 412 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.08058, allocations: 95.02 kB / 380.1 MB, free: 316 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.08116, allocations: 219.6 kB / 380.3 MB, free: 96 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1467/0.2279, allocations: 0.5386 MB / 380.8 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.2283, allocations: 222.6 kB / 381 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.2287, allocations: 177.2 kB / 381.2 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.2289, allocations: 177.5 kB / 381.4 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.665e-05/0.229, allocations: 41.66 kB / 381.4 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.2291, allocations: 48.95 kB / 381.5 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.2292, allocations: 88.11 kB / 381.6 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.2294, allocations: 223.7 kB / 381.8 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006339/0.23, allocations: 0.5911 MB / 382.4 MB, free: 9.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.23, allocations: 0 / 382.4 MB, free: 9.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.23, allocations: 0.5625 kB / 382.4 MB, free: 9.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.29e-05/0.2301, allocations: 0 / 382.4 MB, free: 9.531 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.0009969/0.2311, allocations: 0.7541 MB / 383.1 MB, free: 9.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2311, allocations: 12.11 kB / 383.1 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.2312, allocations: 61.28 kB / 383.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/0.2319, allocations: 424.2 kB / 383.6 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.2319, allocations: 29.09 kB / 383.6 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-05/0.232, allocations: 44.67 kB / 383.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.2327, allocations: 485.8 kB / 384.2 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.2327, allocations: 9.062 kB / 384.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.2327, allocations: 22.12 kB / 384.2 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.2328, allocations: 11.03 kB / 384.2 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/0.2332, allocations: 245.9 kB / 384.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.2349, allocations: 2.82 MB / 387.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.2353, allocations: 166 kB / 387.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.2355, allocations: 72.88 kB / 387.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.284e-05/0.2356, allocations: 83.08 kB / 387.6 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.2356, allocations: 32.45 kB / 387.6 MB, free: 6.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.2356, allocations: 0 / 387.6 MB, free: 6.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001147/0.2368, allocations: 0.6328 MB / 388.2 MB, free: 5.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/0.2368, allocations: 52.78 kB / 388.3 MB, free: 5.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.2371, allocations: 346.8 kB / 388.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.2371, allocations: 29.7 kB / 388.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.2373, allocations: 306.5 kB / 389 MB, free: 5.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.2373, allocations: 71.09 kB / 389 MB, free: 5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.2374, allocations: 70.47 kB / 389.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.327e-05/0.2375, allocations: 345.8 kB / 389.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.2376, allocations: 69.17 kB / 389.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.2378, allocations: 218.4 kB / 389.7 MB, free: 4.383 MB / 318.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.0007976/0.2386, allocations: 0.5185 MB / 390.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.2386, allocations: 2.531 kB / 390.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005101/0.2391, allocations: 362.8 kB / 390.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2391, allocations: 8.469 kB / 390.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.2392, allocations: 9.906 kB / 390.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000127/0.2393, allocations: 37.03 kB / 390.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.2395, allocations: 73.53 kB / 390.7 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008684/0.2404, allocations: 1.631 MB / 392.3 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.2406, allocations: 16.81 kB / 392.4 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.2406, allocations: 13.94 kB / 392.4 MB, free: 2.219 MB / 318.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.0001452/0.2408, allocations: 184.4 kB / 392.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.2408, allocations: 36.89 kB / 392.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.089e-05/0.2409, allocations: 37.91 kB / 392.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2409, allocations: 1.172 kB / 392.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2409, allocations: 5.156 kB / 392.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.013e-05/0.2409, allocations: 106.6 kB / 392.7 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.241, allocations: 1.922 kB / 392.7 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.2411, allocations: 7.172 kB / 392.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.2412, allocations: 11.8 kB / 392.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004752/0.2416, allocations: 281.9 kB / 393 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003934/0.242, allocations: 429.5 kB / 393.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001062/0.2422, allocations: 59.92 kB / 393.5 MB, free: 1.406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002097/0.2424, allocations: 236.7 kB / 393.7 MB, free: 1.281 MB / 318.1 MB Notification: Performance of Backend: time 2.7e-07/0.2424, allocations: 0 / 393.7 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006836/0.2431, allocations: 344.7 kB / 394.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of SimCode: time 0.001102/0.2442, allocations: 1.328 MB / 395.4 MB, free: 40 kB / 318.1 MB Notification: Performance of Templates: time 0.006953/0.2512, allocations: 2.838 MB / 398.3 MB, free: 15.74 MB / 334.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches