Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001837/0.001837, allocations: 112.6 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002223/0.002223, allocations: 212.2 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.431/1.431, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2163, allocations: 53.31 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004383/0.2207, allocations: 3.097 MB / 435.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.2223, allocations: 1.045 MB / 436.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.2225, allocations: 15.94 kB / 436.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.2227, allocations: 99.03 kB / 436.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.2229, allocations: 91.03 kB / 436.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.2234, allocations: 235.5 kB / 436.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005894/0.224, allocations: 0.541 MB / 437.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.2243, allocations: 154.7 kB / 437.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.2245, allocations: 183.2 kB / 437.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.2248, allocations: 179 kB / 437.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.332e-05/0.2248, allocations: 36 kB / 437.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.2249, allocations: 52 kB / 437.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.489e-05/0.225, allocations: 91.64 kB / 437.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.2252, allocations: 230.7 kB / 438.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006232/0.2258, allocations: 0.581 MB / 438.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2258, allocations: 0 / 438.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2258, allocations: 0 / 438.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.2258, allocations: 0 / 438.6 MB, free: 0.7422 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.001045/0.2269, allocations: 0.7673 MB / 439.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2269, allocations: 8.031 kB / 439.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.2271, allocations: 76.3 kB / 439.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006194/0.2277, allocations: 418.5 kB / 439.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.2278, allocations: 29 kB / 439.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.71e-05/0.2278, allocations: 51.95 kB / 440 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007367/0.2286, allocations: 495.2 kB / 440.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.2286, allocations: 4 kB / 440.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.2286, allocations: 20 kB / 440.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.2286, allocations: 8 kB / 440.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.2292, allocations: 254.1 kB / 440.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.2315, allocations: 2.819 MB / 443.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.2319, allocations: 158.6 kB / 443.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.2321, allocations: 60.88 kB / 443.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.2322, allocations: 85.11 kB / 443.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.2322, allocations: 42.5 kB / 443.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 3.316e-06/0.2322, allocations: 3.984 kB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001309/0.2335, allocations: 0.6309 MB / 444.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.2336, allocations: 55.34 kB / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.2339, allocations: 341.6 kB / 444.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.234, allocations: 37.7 kB / 444.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.2342, allocations: 311.7 kB / 445.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.2342, allocations: 63.48 kB / 445.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.579e-05/0.2343, allocations: 69.61 kB / 445.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2345, allocations: 350.7 kB / 445.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.2346, allocations: 63.95 kB / 445.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.2349, allocations: 215.5 kB / 446 MB, free: 8.852 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.001005/0.2359, allocations: 0.5121 MB / 446.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2359, allocations: 3.938 kB / 446.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006218/0.2365, allocations: 361.6 kB / 446.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2365, allocations: 8 kB / 446.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2366, allocations: 8 kB / 446.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001399/0.2367, allocations: 37.47 kB / 446.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.237, allocations: 79.91 kB / 447 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.2384, allocations: 1.631 MB / 448.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.2385, allocations: 12 kB / 448.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.2386, allocations: 16 kB / 448.7 MB, free: 5.957 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.0002011/0.2388, allocations: 179.1 kB / 448.8 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.2388, allocations: 39.7 kB / 448.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.012e-05/0.2389, allocations: 35.73 kB / 448.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.2389, allocations: 8.047 kB / 448.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2389, allocations: 0 / 448.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.08e-05/0.239, allocations: 112.9 kB / 449 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.239, allocations: 3.938 kB / 449 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.2391, allocations: 4 kB / 449 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.2392, allocations: 15.92 kB / 449 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005705/0.2398, allocations: 281.5 kB / 449.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005267/0.2403, allocations: 421.2 kB / 449.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001219/0.2404, allocations: 63.86 kB / 449.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002473/0.2407, allocations: 235.2 kB / 450 MB, free: 4.535 MB / 350.1 MB Notification: Performance of Backend: time 4.61e-07/0.2407, allocations: 0 / 450 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008106/0.2415, allocations: 353.6 kB / 450.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of SimCode: time 0.001568/0.243, allocations: 1.325 MB / 451.7 MB, free: 2.797 MB / 350.1 MB Notification: Performance of Templates: time 0.007647/0.2507, allocations: 3.013 MB / 454.7 MB, free: 15.79 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.208311012946069]