Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008986/0.0008986, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009289/0.0009289, allocations: 169.4 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9169/0.9169, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 273.4 MB, free: 1.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.599e-05, allocations: 6.312 kB / 273.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002774/0.00279, allocations: 2.982 MB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.004248, allocations: 1.04 MB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.004408, allocations: 15.88 kB / 277.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.0046, allocations: 95.05 kB / 277.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.004744, allocations: 110.8 kB / 277.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.005166, allocations: 235.5 kB / 277.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.005582, allocations: 0.5524 MB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.005781, allocations: 161.1 kB / 278.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.006053, allocations: 275.3 kB / 278.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.006188, allocations: 127.5 kB / 279 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.006225, allocations: 36 kB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-05/0.006304, allocations: 52 kB / 279.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.006353, allocations: 87.61 kB / 279.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.062e-05/0.006443, allocations: 147.6 kB / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.006741, allocations: 370.4 kB / 279.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.006743, allocations: 0 / 279.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.006744, allocations: 4 kB / 279.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.006749, allocations: 0 / 279.7 MB, free: 11.05 MB / 266.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.000559/0.007308, allocations: 0.6515 MB / 280.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.007339, allocations: 12.03 kB / 280.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.007476, allocations: 76.62 kB / 280.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.0078, allocations: 324.8 kB / 280.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.00782, allocations: 29 kB / 280.8 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.00786, allocations: 47.94 kB / 280.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.008191, allocations: 428 kB / 281.2 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.008205, allocations: 0 / 281.2 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.008225, allocations: 24 kB / 281.2 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.008235, allocations: 8 kB / 281.2 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.008395, allocations: 150.8 kB / 281.4 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.009532, allocations: 2.421 MB / 283.8 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.009737, allocations: 94.47 kB / 283.9 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.009772, allocations: 32.84 kB / 283.9 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-05/0.009822, allocations: 8 kB / 284 MB, free: 6.516 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.00984, allocations: 38.55 kB / 284 MB, free: 6.469 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.009842, allocations: 0 / 284 MB, free: 6.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005535/0.0104, allocations: 378.2 kB / 284.4 MB, free: 6.066 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.01042, allocations: 51.41 kB / 284.4 MB, free: 6.004 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.01065, allocations: 331.2 kB / 284.7 MB, free: 5.672 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.01066, allocations: 29.7 kB / 284.8 MB, free: 5.637 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.01076, allocations: 272.3 kB / 285 MB, free: 5.363 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.01079, allocations: 71.41 kB / 285.1 MB, free: 5.293 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.01084, allocations: 65.62 kB / 285.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.01092, allocations: 362.7 kB / 285.5 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.01095, allocations: 23.98 kB / 285.5 MB, free: 4.836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.583e-05/0.01105, allocations: 183.5 kB / 285.7 MB, free: 4.586 MB / 266.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.0002352/0.01128, allocations: 305.1 kB / 286 MB, free: 4.223 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01129, allocations: 0 / 286 MB, free: 4.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002065/0.01149, allocations: 234.4 kB / 286.2 MB, free: 3.984 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.01151, allocations: 8 kB / 286.3 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01151, allocations: 11.94 kB / 286.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.616e-05/0.01161, allocations: 32.83 kB / 286.3 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.01174, allocations: 75.84 kB / 286.4 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006367/0.01237, allocations: 1.364 MB / 287.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.546e-05/0.01245, allocations: 16.03 kB / 287.7 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.01246, allocations: 16 kB / 287.8 MB, free: 2.371 MB / 266.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 9.221e-05/0.01255, allocations: 141.6 kB / 287.9 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.01258, allocations: 23.97 kB / 287.9 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.01261, allocations: 43.47 kB / 288 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.01261, allocations: 0 / 288 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.01262, allocations: 0 / 288 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01262, allocations: 0 / 288 MB, free: 2.16 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.01301, allocations: 400.3 kB / 288.4 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01301, allocations: 144 / 288.4 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.991e-05/0.0131, allocations: 35.98 kB / 288.4 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.037e-05/0.01315, allocations: 20.83 kB / 288.4 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.01316, allocations: 4 kB / 288.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004651/0.01362, allocations: 1.187 MB / 289.6 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.01362, allocations: 3.938 kB / 289.6 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.0138, allocations: 253.6 kB / 289.9 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.01382, allocations: 27.77 kB / 289.9 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.01383, allocations: 4 kB / 289.9 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.018e-05/0.01388, allocations: 4 kB / 289.9 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.01392, allocations: 19.91 kB / 289.9 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.01392, allocations: 4 kB / 289.9 MB, free: 68 kB / 266.7 MB Notification: Performance of sorting global known variables: time 9.617e-05/0.01402, allocations: 128.7 kB / 290 MB, free: 15.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01402, allocations: 0 / 290 MB, free: 15.94 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00023/0.01425, allocations: 68 kB / 290.1 MB, free: 15.87 MB / 282.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.205e-05/0.01433, allocations: 88.61 kB / 290.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.01459, allocations: 262.9 kB / 290.5 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.01459, allocations: 4 kB / 290.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.546e-05/0.01468, allocations: 166.1 kB / 290.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.01485, allocations: 44.22 kB / 290.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000935/0.01579, allocations: 0.7395 MB / 291.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.01593, allocations: 104.6 kB / 291.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.796e-05/0.016, allocations: 35.27 kB / 291.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.249e-05/0.01609, allocations: 99.34 kB / 291.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01609, allocations: 0 / 291.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of Templates: time 0.005038/0.02113, allocations: 2.932 MB / 294.6 MB, free: 11.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.651418210938573]