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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000832/0.000832, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000811/0.000811, allocations: 159.5 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8497/0.8497, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 299.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.725e-05, allocations: 2.281 kB / 299.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003479/0.003507, allocations: 2.813 MB / 302.5 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.005253, allocations: 0.9638 MB / 303.5 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.005451, allocations: 19.81 kB / 303.5 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.005685, allocations: 103 kB / 303.6 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.005824, allocations: 94.97 kB / 303.7 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.006385, allocations: 223.6 kB / 303.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.007473, allocations: 0.5602 MB / 304.4 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.007782, allocations: 139.1 kB / 304.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.008122, allocations: 267.4 kB / 304.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.008259, allocations: 123.5 kB / 305 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.008298, allocations: 36 kB / 305 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.008389, allocations: 51.98 kB / 305.1 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.969e-05/0.008439, allocations: 91.59 kB / 305.1 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.008547, allocations: 135.6 kB / 305.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.009012, allocations: 0.5721 MB / 305.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.009016, allocations: 4 kB / 305.9 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.008e-06/0.00902, allocations: 3.984 kB / 305.9 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.009026, allocations: 3.938 kB / 305.9 MB, free: 0.7305 MB / 282.7 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.0006801/0.009706, allocations: 0.6764 MB / 306.5 MB, free: 20 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.009744, allocations: 11.98 kB / 306.5 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.009821, allocations: 68.3 kB / 306.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.01023, allocations: 359.4 kB / 307 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.01025, allocations: 32.94 kB / 307 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.0103, allocations: 40 kB / 307 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.01081, allocations: 483.4 kB / 307.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.01083, allocations: 7.984 kB / 307.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.01085, allocations: 19.94 kB / 307.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.01086, allocations: 12 kB / 307.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.01116, allocations: 246.2 kB / 307.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.01253, allocations: 2.607 MB / 310.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.01284, allocations: 158.6 kB / 310.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.549e-05/0.01291, allocations: 60.88 kB / 310.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.87e-05/0.01299, allocations: 8 kB / 310.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.01301, allocations: 34.56 kB / 310.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.01301, allocations: 4 kB / 310.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001159/0.01417, allocations: 0.563 MB / 311.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.0142, allocations: 55.41 kB / 311.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.01444, allocations: 349.5 kB / 311.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.01445, allocations: 33.7 kB / 311.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.01458, allocations: 299.7 kB / 311.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.01462, allocations: 71.42 kB / 312 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.01468, allocations: 69.61 kB / 312.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.01478, allocations: 354.7 kB / 312.4 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-05/0.01486, allocations: 67.97 kB / 312.5 MB, free: 9.738 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.015, allocations: 215.4 kB / 312.7 MB, free: 9.457 MB / 298.7 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.0005569/0.01556, allocations: 439.3 kB / 313.1 MB, free: 8.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01556, allocations: 4 kB / 313.1 MB, free: 8.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00034/0.0159, allocations: 353.6 kB / 313.5 MB, free: 8.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.01592, allocations: 8.688 kB / 313.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01592, allocations: 7.938 kB / 313.5 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/0.01603, allocations: 40.84 kB / 313.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.01616, allocations: 79.84 kB / 313.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008181/0.01698, allocations: 1.508 MB / 315.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.01706, allocations: 15.94 kB / 315.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.01707, allocations: 20 kB / 315.2 MB, free: 6.816 MB / 298.7 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.0001393/0.01721, allocations: 178.2 kB / 315.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.01724, allocations: 39.83 kB / 315.4 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.01729, allocations: 39.47 kB / 315.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.0173, allocations: 4 kB / 315.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.0173, allocations: 0 / 315.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.0173, allocations: 0 / 315.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/0.01784, allocations: 0.5622 MB / 316 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01784, allocations: 0 / 316 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/0.01793, allocations: 35.92 kB / 316 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-05/0.01799, allocations: 32.88 kB / 316 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.018, allocations: 0 / 316 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005924/0.01859, allocations: 1.3 MB / 317.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01859, allocations: 0 / 317.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.01888, allocations: 368.1 kB / 317.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.0189, allocations: 31.75 kB / 317.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.01892, allocations: 4 kB / 317.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.407e-05/0.01897, allocations: 4.062 kB / 317.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.01901, allocations: 23.97 kB / 317.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.01901, allocations: 4 kB / 317.8 MB, free: 4.023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.01916, allocations: 235.2 kB / 318 MB, free: 3.797 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01916, allocations: 0 / 318 MB, free: 3.797 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005113/0.01967, allocations: 68 kB / 318.1 MB, free: 3.73 MB / 298.7 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 8.197e-05/0.01975, allocations: 95.25 kB / 318.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.0201, allocations: 314.7 kB / 318.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.02011, allocations: 0 / 318.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.02023, allocations: 182.5 kB / 318.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.02047, allocations: 38.56 kB / 318.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008673/0.02133, allocations: 0.8072 MB / 319.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.02147, allocations: 227 kB / 319.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.02153, allocations: 32.5 kB / 319.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02153, allocations: 3.938 kB / 319.7 MB, free: 1.949 MB / 298.7 MB Notification: Performance of Templates: time 0.005396/0.02692, allocations: 6.613 MB / 326.4 MB, free: 11.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.835495314560831]