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.001594/0.001594, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.002143/0.002143, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.435/1.435, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.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.001631/0.001631, allocations: 44.06 kB / 371.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2948, allocations: 52.19 MB / 423.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004875/0.2997, allocations: 3.092 MB / 427 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.3019, allocations: 0.9787 MB / 427.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.3022, allocations: 15.88 kB / 428 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.3025, allocations: 95.05 kB / 428 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.3028, allocations: 95.02 kB / 428.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007539/0.3036, allocations: 219.6 kB / 428.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008821/0.3044, allocations: 0.5449 MB / 428.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004127/0.3049, allocations: 151.2 kB / 429 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.3052, allocations: 183.2 kB / 429.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003301/0.3055, allocations: 182.9 kB / 429.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.54e-05/0.3056, allocations: 36 kB / 429.4 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.3058, allocations: 47.98 kB / 429.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.3059, allocations: 87.64 kB / 429.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.3062, allocations: 234.7 kB / 429.8 MB, free: 8.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.3072, allocations: 0.5768 MB / 430.4 MB, free: 8.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3072, allocations: 0 / 430.4 MB, free: 8.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3072, allocations: 3.938 kB / 430.4 MB, free: 8.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.3072, allocations: 3.938 kB / 430.4 MB, free: 8.16 MB / 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.001406/0.3086, allocations: 0.6842 MB / 431.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.3087, allocations: 8.031 kB / 431.1 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.3088, allocations: 64.31 kB / 431.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009157/0.3097, allocations: 355.5 kB / 431.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.3098, allocations: 29 kB / 431.5 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.385e-05/0.3099, allocations: 40 kB / 431.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.3109, allocations: 491.4 kB / 432 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.3109, allocations: 0 / 432 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.741e-05/0.311, allocations: 20 kB / 432.1 MB, free: 6.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.311, allocations: 8 kB / 432.1 MB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.3117, allocations: 254.1 kB / 432.3 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/0.315, allocations: 2.75 MB / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/0.3156, allocations: 158.7 kB / 435.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.3158, allocations: 60.84 kB / 435.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.3159, allocations: 11.97 kB / 435.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.3159, allocations: 38.5 kB / 435.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.414e-06/0.3159, allocations: 4 kB / 435.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001914/0.3179, allocations: 0.5505 MB / 435.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.3179, allocations: 55.39 kB / 435.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.3185, allocations: 349.6 kB / 436.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.3186, allocations: 25.7 kB / 436.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.3189, allocations: 311.7 kB / 436.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.726e-05/0.319, allocations: 67.45 kB / 436.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.3191, allocations: 65.66 kB / 436.7 MB, free: 1.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.3193, allocations: 350.7 kB / 437.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3195, allocations: 63.97 kB / 437.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.3198, allocations: 223.5 kB / 437.4 MB, free: 0.7461 MB / 334.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.001304/0.3211, allocations: 454.7 kB / 437.8 MB, free: 240 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3212, allocations: 0 / 437.8 MB, free: 240 kB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009972/0.3221, allocations: 361.7 kB / 438.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.3222, allocations: 4 kB / 438.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.3222, allocations: 11.94 kB / 438.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.3224, allocations: 40.78 kB / 438.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.3227, allocations: 68.53 kB / 438.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.3246, allocations: 1.532 MB / 439.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.3248, allocations: 16.06 kB / 439.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.3249, allocations: 16 kB / 439.8 MB, free: 14.07 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.000348/0.3252, allocations: 175.3 kB / 440 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.3253, allocations: 39.84 kB / 440 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.3254, allocations: 43.52 kB / 440.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3254, allocations: 0 / 440.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.3254, allocations: 4 kB / 440.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3255, allocations: 4 kB / 440.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.3268, allocations: 0.6782 MB / 440.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3268, allocations: 4 kB / 440.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.327, allocations: 31.92 kB / 440.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.3271, allocations: 24.84 kB / 440.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.3272, allocations: 8 kB / 440.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.3285, allocations: 1.33 MB / 442.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.3286, allocations: 4.031 kB / 442.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007228/0.3293, allocations: 361.4 kB / 442.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.548e-05/0.3294, allocations: 31.8 kB / 442.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.3294, allocations: 11.94 kB / 442.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.3296, allocations: 0 / 442.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.3296, allocations: 24.14 kB / 442.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.3296, allocations: 4 kB / 442.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003546/0.33, allocations: 235.2 kB / 442.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.33, allocations: 0 / 442.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006637/0.3307, allocations: 68 kB / 442.9 MB, free: 10.79 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.0001557/0.3308, allocations: 99.23 kB / 443 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008364/0.3317, allocations: 310.4 kB / 443.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3317, allocations: 0 / 443.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.332, allocations: 183.8 kB / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.3325, allocations: 45.41 kB / 443.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.3348, allocations: 0.8891 MB / 444.4 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006601/0.3354, allocations: 0.8146 MB / 445.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.3356, allocations: 35.44 kB / 445.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3356, allocations: 3.938 kB / 445.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of Templates: time 0.01462/0.3502, allocations: 6.449 MB / 451.7 MB, free: 1.871 MB / 350.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.66332629788667]