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.001668/0.001668, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002049/0.002049, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.912/1.912, allocations: 230.6 MB / 258.2 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00178/0.00178, allocations: 51.91 kB / 378.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3259, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.006131/0.332, allocations: 2.836 MB / 435.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.3348, allocations: 0.9864 MB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.335, allocations: 15.88 kB / 436.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.3354, allocations: 99.05 kB / 436.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.3357, allocations: 99 kB / 436.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007636/0.3364, allocations: 227.6 kB / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008867/0.3373, allocations: 0.541 MB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/0.3377, allocations: 155.2 kB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.3381, allocations: 183.2 kB / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.3384, allocations: 182.9 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-05/0.3385, allocations: 36 kB / 437.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.3387, allocations: 59.92 kB / 437.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.3388, allocations: 87.66 kB / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.3391, allocations: 175 kB / 438 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009231/0.34, allocations: 0.5928 MB / 438.6 MB, free: 464 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.34, allocations: 0 / 438.6 MB, free: 464 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.34, allocations: 0 / 438.6 MB, free: 464 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.34, allocations: 4 kB / 438.6 MB, free: 460 kB / 334.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.001412/0.3414, allocations: 0.6803 MB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.3415, allocations: 12.03 kB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.3418, allocations: 72.3 kB / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009597/0.3427, allocations: 363.4 kB / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.3428, allocations: 29 kB / 439.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.225e-05/0.3429, allocations: 47.89 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.344, allocations: 487.3 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.344, allocations: 7.938 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.344, allocations: 20 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.3441, allocations: 12 kB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007701/0.3448, allocations: 250.1 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003455/0.3483, allocations: 2.626 MB / 443.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/0.3489, allocations: 146.7 kB / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.3491, allocations: 64.83 kB / 443.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.981e-05/0.3492, allocations: 12 kB / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.3493, allocations: 34.5 kB / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.425e-06/0.3493, allocations: 0 / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001917/0.3512, allocations: 0.558 MB / 444 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.3512, allocations: 55.41 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005779/0.3518, allocations: 361.5 kB / 444.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.3518, allocations: 29.7 kB / 444.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.3521, allocations: 299.8 kB / 444.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.68e-05/0.3522, allocations: 75.39 kB / 444.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.3524, allocations: 69.61 kB / 444.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.3526, allocations: 350.7 kB / 445.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.3528, allocations: 63.97 kB / 445.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.3532, allocations: 227.4 kB / 445.5 MB, free: 9.133 MB / 350.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.001447/0.3547, allocations: 439.3 kB / 445.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3547, allocations: 8 kB / 445.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.01064/0.3653, allocations: 360.9 kB / 446.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.3653, allocations: 4 kB / 446.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.3654, allocations: 11.98 kB / 446.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000245/0.3656, allocations: 36.78 kB / 446.3 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.366, allocations: 75.84 kB / 446.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.368, allocations: 1.505 MB / 447.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.3683, allocations: 12.16 kB / 447.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.3683, allocations: 24 kB / 447.9 MB, free: 6.496 MB / 350.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.0003409/0.3687, allocations: 169.7 kB / 448.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.3688, allocations: 35.77 kB / 448.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.3689, allocations: 43.47 kB / 448.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3689, allocations: 4 kB / 448.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3689, allocations: 0 / 448.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3689, allocations: 3.984 kB / 448.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.3703, allocations: 0.5622 MB / 448.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3703, allocations: 0 / 448.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.3706, allocations: 31.98 kB / 448.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/0.3707, allocations: 28.84 kB / 448.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.3708, allocations: 4 kB / 448.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004759/0.3755, allocations: 1.308 MB / 450.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3755, allocations: 0 / 450.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.3763, allocations: 375.9 kB / 450.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/0.3764, allocations: 27.77 kB / 450.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.3765, allocations: 0 / 450.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.3766, allocations: 8 kB / 450.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.3767, allocations: 12.02 kB / 450.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.3767, allocations: 8 kB / 450.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000359/0.3771, allocations: 235.2 kB / 450.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3771, allocations: 0 / 450.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006813/0.3778, allocations: 68 kB / 450.8 MB, free: 3.41 MB / 350.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.0001602/0.3779, allocations: 107.2 kB / 450.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008132/0.3787, allocations: 295.7 kB / 451.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.3787, allocations: 4 kB / 451.2 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.3791, allocations: 186.6 kB / 451.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.3796, allocations: 45.42 kB / 451.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3817, allocations: 0.856 MB / 452.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.382, allocations: 211.2 kB / 452.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.3822, allocations: 43.25 kB / 452.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.432e-05/0.3823, allocations: 35.42 kB / 452.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3823, allocations: 3.938 kB / 452.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of Templates: time 0.01098/0.3933, allocations: 3.268 MB / 455.8 MB, free: 14.35 MB / 366.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.373536018989398]