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.001496/0.001496, allocations: 120.8 kB / 18.46 MB, free: 4.449 MB / 14.72 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.001571/0.001571, allocations: 190.9 kB / 21.4 MB, free: 1.52 MB / 14.72 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 1.654/1.654, allocations: 225.6 MB / 249.8 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001494/0.001494, allocations: 47.92 kB / 366.8 MB, free: 412 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1025, allocations: 52.14 MB / 418.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005015/0.1075, allocations: 3.08 MB / 422 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1096, allocations: 0.9708 MB / 423 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.1098, allocations: 7.938 kB / 423 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.1101, allocations: 99.05 kB / 423.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.1103, allocations: 95.02 kB / 423.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006043/0.1109, allocations: 223.6 kB / 423.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006502/0.1116, allocations: 0.541 MB / 423.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.1119, allocations: 150.7 kB / 424.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.1121, allocations: 171.2 kB / 424.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.1124, allocations: 182.9 kB / 424.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.1125, allocations: 36 kB / 424.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1126, allocations: 48 kB / 424.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.797e-05/0.1127, allocations: 91.64 kB / 424.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.1129, allocations: 226.7 kB / 424.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007676/0.1137, allocations: 0.5833 MB / 425.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1137, allocations: 4 kB / 425.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1137, allocations: 0 / 425.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1137, allocations: 0 / 425.4 MB, free: 5.652 MB / 350.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.001144/0.1148, allocations: 0.7556 MB / 426.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1149, allocations: 15.89 kB / 426.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.115, allocations: 68.31 kB / 426.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/0.1157, allocations: 426.5 kB / 426.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.1157, allocations: 29 kB / 426.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.1158, allocations: 43.98 kB / 426.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008467/0.1166, allocations: 487.4 kB / 427.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.1166, allocations: 4 kB / 427.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.1167, allocations: 20 kB / 427.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.1167, allocations: 12 kB / 427.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.1172, allocations: 250.1 kB / 427.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/0.1204, allocations: 2.811 MB / 430.3 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/0.1209, allocations: 158.6 kB / 430.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.1211, allocations: 60.84 kB / 430.5 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.1213, allocations: 89.09 kB / 430.6 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.1213, allocations: 38.5 kB / 430.6 MB, free: 64 kB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.415e-06/0.1213, allocations: 0 / 430.6 MB, free: 64 kB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001505/0.1228, allocations: 0.6283 MB / 431.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.1229, allocations: 55.41 kB / 431.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.1233, allocations: 349.6 kB / 431.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1233, allocations: 25.7 kB / 431.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.1236, allocations: 307.7 kB / 432 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/0.1236, allocations: 71.47 kB / 432.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1237, allocations: 65.66 kB / 432.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1239, allocations: 350.7 kB / 432.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.1241, allocations: 63.97 kB / 432.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.1243, allocations: 223.2 kB / 432.7 MB, free: 13.79 MB / 366.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.001043/0.1254, allocations: 0.5148 MB / 433.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1254, allocations: 0 / 433.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006759/0.126, allocations: 363.8 kB / 433.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1261, allocations: 8.688 kB / 433.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1261, allocations: 4 kB / 433.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.1262, allocations: 40.84 kB / 433.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.1265, allocations: 75.84 kB / 433.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.128, allocations: 1.635 MB / 435.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.1282, allocations: 8 kB / 435.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.1282, allocations: 27.92 kB / 435.4 MB, free: 10.88 MB / 366.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.0002426/0.1285, allocations: 169.7 kB / 435.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.1285, allocations: 39.7 kB / 435.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.684e-05/0.1286, allocations: 39.66 kB / 435.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1286, allocations: 4 kB / 435.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1286, allocations: 0 / 435.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1286, allocations: 3.984 kB / 435.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.1297, allocations: 0.7088 MB / 436.4 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1297, allocations: 0 / 436.4 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.1299, allocations: 39.91 kB / 436.4 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.713e-05/0.13, allocations: 32.83 kB / 436.4 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.13, allocations: 3.984 kB / 436.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.1312, allocations: 1.438 MB / 437.9 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1312, allocations: 0 / 437.9 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.1317, allocations: 367.5 kB / 438.2 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.1318, allocations: 104.9 kB / 438.3 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.1318, allocations: 16.09 kB / 438.4 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.132, allocations: 0 / 438.4 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.132, allocations: 19.92 kB / 438.4 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.132, allocations: 4 kB / 438.4 MB, free: 7.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002696/0.1323, allocations: 231.2 kB / 438.6 MB, free: 7.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1323, allocations: 0 / 438.6 MB, free: 7.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004846/0.1328, allocations: 68 kB / 438.7 MB, free: 7.344 MB / 366.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 0.0001597/0.1329, allocations: 109.2 kB / 438.8 MB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006656/0.1336, allocations: 299.7 kB / 439.1 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1336, allocations: 0 / 439.1 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.1339, allocations: 194.5 kB / 439.3 MB, free: 6.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1342, allocations: 29.56 kB / 439.3 MB, free: 6.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.1358, allocations: 0.8885 MB / 440.2 MB, free: 5.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.1363, allocations: 0.8185 MB / 441 MB, free: 4.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.1364, allocations: 35.42 kB / 441 MB, free: 4.891 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1364, allocations: 3.938 kB / 441 MB, free: 4.887 MB / 366.1 MB Notification: Performance of Templates: time 0.1967/0.3331, allocations: 6.431 MB / 447.5 MB, free: 30.14 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.761647319886833]