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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009002/0.0009002, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008697/0.0008697, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9616/0.9616, allocations: 173.4 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 3.938 kB / 268 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.222e-05, allocations: 6.25 kB / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.01074/0.01077, allocations: 3.003 MB / 271 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.01363, allocations: 0.959 MB / 271.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.01389, allocations: 15.88 kB / 271.9 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.01415, allocations: 103 kB / 272 MB, free: 2.371 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.01435, allocations: 110.8 kB / 272.2 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.01492, allocations: 223.5 kB / 272.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000564/0.01548, allocations: 0.5485 MB / 272.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.01574, allocations: 139.2 kB / 273.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.01608, allocations: 279.4 kB / 273.3 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.01625, allocations: 123.5 kB / 273.5 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/0.0163, allocations: 36 kB / 273.5 MB, free: 0.918 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.0164, allocations: 51.98 kB / 273.5 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.01647, allocations: 91.61 kB / 273.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.01659, allocations: 135.6 kB / 273.8 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.01702, allocations: 366.4 kB / 274.1 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.01703, allocations: 0 / 274.1 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.01703, allocations: 0 / 274.1 MB, free: 292 kB / 250.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.01704, allocations: 0 / 274.1 MB, free: 292 kB / 250.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.0008626/0.0179, allocations: 0.7725 MB / 274.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.01795, allocations: 8.031 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.01808, allocations: 96.31 kB / 275 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.01859, allocations: 394.2 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.01862, allocations: 29 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.01868, allocations: 40 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006242/0.0193, allocations: 493.2 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.01932, allocations: 7.938 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.01935, allocations: 19.94 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.01937, allocations: 12 kB / 276 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.01969, allocations: 171.5 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.02193, allocations: 3.68 MB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.02229, allocations: 115.2 kB / 279.9 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.606e-05/0.02236, allocations: 51.59 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.301e-05/0.02245, allocations: 12.28 kB / 280 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.02247, allocations: 33.39 kB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.02247, allocations: 0 / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009287/0.0234, allocations: 484.1 kB / 280.5 MB, free: 9.504 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.02343, allocations: 51.41 kB / 280.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.02373, allocations: 390.5 kB / 280.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.02375, allocations: 29.7 kB / 281 MB, free: 9.012 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.02393, allocations: 362.4 kB / 281.3 MB, free: 8.648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.02398, allocations: 63.44 kB / 281.4 MB, free: 8.586 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/0.02407, allocations: 75.31 kB / 281.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.02422, allocations: 0.5157 MB / 282 MB, free: 7.977 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.02429, allocations: 35.97 kB / 282 MB, free: 7.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.02447, allocations: 248.5 kB / 282.2 MB, free: 7.602 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.0004373/0.02491, allocations: 379.6 kB / 282.6 MB, free: 7.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.02491, allocations: 0 / 282.6 MB, free: 7.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004353/0.02535, allocations: 323.9 kB / 282.9 MB, free: 6.812 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.02537, allocations: 6.969 kB / 282.9 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.02538, allocations: 11.94 kB / 282.9 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.02553, allocations: 31.67 kB / 283 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.02572, allocations: 75.84 kB / 283 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.02683, allocations: 2.037 MB / 285.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.02695, allocations: 15.94 kB / 285.1 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.02697, allocations: 20 kB / 285.1 MB, free: 4.496 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 0.0001444/0.02712, allocations: 188.4 kB / 285.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.02717, allocations: 43.77 kB / 285.3 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.02722, allocations: 35.53 kB / 285.4 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.02722, allocations: 4 kB / 285.4 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.02723, allocations: 0 / 285.4 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.02723, allocations: 11.91 kB / 285.4 MB, free: 4.211 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.0006467/0.02788, allocations: 0.5786 MB / 286 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02788, allocations: 0 / 286 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.02801, allocations: 35.92 kB / 286 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-05/0.02808, allocations: 19.67 kB / 286 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.02809, allocations: 8 kB / 286 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000834/0.02893, allocations: 1.764 MB / 287.8 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.02893, allocations: 4 kB / 287.8 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.02927, allocations: 350.6 kB / 288.1 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.0293, allocations: 27.77 kB / 288.2 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.02932, allocations: 11.94 kB / 288.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.0294, allocations: 4 kB / 288.2 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.02945, allocations: 11.97 kB / 288.2 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.02946, allocations: 4 kB / 288.2 MB, free: 1.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001903/0.02965, allocations: 255.1 kB / 288.5 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02965, allocations: 0 / 288.5 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003909/0.03004, allocations: 68.03 kB / 288.5 MB, free: 0.8828 MB / 266.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 0.0001067/0.03015, allocations: 103.2 kB / 288.6 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004349/0.03058, allocations: 341.8 kB / 289 MB, free: 432 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.03058, allocations: 256 / 289 MB, free: 432 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.03073, allocations: 229.5 kB / 289.2 MB, free: 180 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.03105, allocations: 41.42 kB / 289.2 MB, free: 140 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.03247, allocations: 0.7754 MB / 290 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.846e-05/0.03255, allocations: 104.6 kB / 290.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.311e-05/0.03264, allocations: 39.27 kB / 290.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.03271, allocations: 28.48 kB / 290.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.03271, allocations: 8 kB / 290.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of Templates: time 0.006711/0.03942, allocations: 2.824 MB / 293 MB, free: 12.37 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",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.7970024473033845]