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.001401/0.001401, allocations: 106 kB / 17.06 MB, free: 6.117 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.001342/0.001343, allocations: 198.9 kB / 18 MB, free: 5.191 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.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009395/0.0009395, allocations: 43.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2479, allocations: 49.44 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003932/0.2519, allocations: 3.056 MB / 403.8 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.2534, allocations: 0.9592 MB / 404.7 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.2536, allocations: 11.94 kB / 404.7 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.2538, allocations: 95.05 kB / 404.8 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.254, allocations: 99 kB / 404.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.2545, allocations: 211.6 kB / 405.1 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000493/0.255, allocations: 0.5488 MB / 405.7 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003342/0.2553, allocations: 226.7 kB / 405.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.2555, allocations: 171.2 kB / 406.1 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.2557, allocations: 179 kB / 406.2 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.2558, allocations: 36 kB / 406.3 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.2559, allocations: 55.92 kB / 406.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.256, allocations: 91.64 kB / 406.4 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.2562, allocations: 226.6 kB / 406.6 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.2567, allocations: 0.5794 MB / 407.2 MB, free: 2.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2567, allocations: 3.938 kB / 407.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2567, allocations: 0 / 407.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2568, allocations: 4 kB / 407.2 MB, free: 2.336 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.0008827/0.2576, allocations: 0.7556 MB / 408 MB, free: 1.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2577, allocations: 15.89 kB / 408 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.2578, allocations: 60.31 kB / 408.1 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.2583, allocations: 426.6 kB / 408.5 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.2584, allocations: 29 kB / 408.5 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.83e-05/0.2584, allocations: 36 kB / 408.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/0.2591, allocations: 491.4 kB / 409 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.2592, allocations: 7.938 kB / 409 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.2592, allocations: 16 kB / 409 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.2592, allocations: 12 kB / 409.1 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.2597, allocations: 254.1 kB / 409.3 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.2617, allocations: 2.819 MB / 412.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.2621, allocations: 166.6 kB / 412.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.2622, allocations: 68.25 kB / 412.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.2624, allocations: 85.11 kB / 412.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.2624, allocations: 42.5 kB / 412.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.2624, allocations: 0 / 412.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001179/0.2636, allocations: 0.6256 MB / 413.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.2636, allocations: 51.41 kB / 413.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.264, allocations: 345.6 kB / 413.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.264, allocations: 33.7 kB / 413.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.2642, allocations: 315.7 kB / 413.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.2642, allocations: 59.48 kB / 413.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.2643, allocations: 65.66 kB / 414 MB, free: 11.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2644, allocations: 350.7 kB / 414.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.2646, allocations: 63.97 kB / 414.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.2648, allocations: 227.5 kB / 414.6 MB, free: 10.46 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.0008804/0.2657, allocations: 0.5173 MB / 415.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2657, allocations: 0 / 415.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005567/0.2663, allocations: 368.1 kB / 415.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2663, allocations: 8 kB / 415.5 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2663, allocations: 4 kB / 415.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.2664, allocations: 33.53 kB / 415.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.2667, allocations: 79.84 kB / 415.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.2678, allocations: 1.627 MB / 417.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.268, allocations: 19.98 kB / 417.2 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.268, allocations: 16 kB / 417.2 MB, free: 7.555 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.0001749/0.2682, allocations: 180.8 kB / 417.4 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.2683, allocations: 39.7 kB / 417.5 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.2684, allocations: 39.59 kB / 417.5 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2684, allocations: 4.062 kB / 417.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2684, allocations: 4 kB / 417.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2684, allocations: 0 / 417.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008788/0.2693, allocations: 0.7104 MB / 418.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2693, allocations: 0 / 418.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.2695, allocations: 35.92 kB / 418.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.54e-05/0.2696, allocations: 28.88 kB / 418.3 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.2696, allocations: 4 kB / 418.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00089/0.2705, allocations: 1.43 MB / 419.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2705, allocations: 4.141 kB / 419.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004739/0.271, allocations: 365.2 kB / 420.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.271, allocations: 108.9 kB / 420.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.2711, allocations: 4 kB / 420.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.2712, allocations: 8.062 kB / 420.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.2712, allocations: 19.95 kB / 420.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2713, allocations: 4 kB / 420.2 MB, free: 4.312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.2715, allocations: 235.2 kB / 420.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2715, allocations: 0 / 420.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004076/0.2719, allocations: 68 kB / 420.5 MB, free: 4.016 MB / 334.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 (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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.148e-05/0.272, allocations: 105.2 kB / 420.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005291/0.2725, allocations: 318.2 kB / 420.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2725, allocations: 1.375 kB / 420.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.2728, allocations: 181.9 kB / 421.1 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.2731, allocations: 51.73 kB / 421.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.2744, allocations: 0.8555 MB / 422 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.2747, allocations: 0.8223 MB / 422.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.2748, allocations: 35.27 kB / 422.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.2749, allocations: 35.42 kB / 422.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2749, allocations: 0 / 422.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of Templates: time 0.00635/0.2813, allocations: 2.741 MB / 425.6 MB, free: 14.82 MB / 350.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","/var/lib/jenkins/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