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.001852/0.001852, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002251/0.002251, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.569/1.569, allocations: 230.6 MB / 257.5 MB, free: 8 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.001775/0.001775, allocations: 47.92 kB / 378.2 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2515, allocations: 53.37 MB / 431.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004479/0.256, allocations: 3.087 MB / 434.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.2578, allocations: 1.056 MB / 435.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.258, allocations: 19.81 kB / 435.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.2582, allocations: 95.05 kB / 435.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.2584, allocations: 95.02 kB / 436 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.2589, allocations: 235.6 kB / 436.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006148/0.2596, allocations: 0.541 MB / 436.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.2599, allocations: 147.2 kB / 436.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.2601, allocations: 183.2 kB / 437.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.2604, allocations: 182.9 kB / 437.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.596e-05/0.2604, allocations: 36 kB / 437.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.2606, allocations: 56 kB / 437.3 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.992e-05/0.2607, allocations: 91.64 kB / 437.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.2609, allocations: 238.6 kB / 437.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006562/0.2615, allocations: 0.5817 MB / 438.2 MB, free: 276 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2615, allocations: 4 kB / 438.2 MB, free: 272 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2615, allocations: 0 / 438.2 MB, free: 272 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.2615, allocations: 0 / 438.2 MB, free: 272 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.001056/0.2626, allocations: 0.6803 MB / 438.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2626, allocations: 15.97 kB / 438.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.2628, allocations: 72.3 kB / 439 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006501/0.2635, allocations: 363.3 kB / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.2635, allocations: 32.98 kB / 439.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.2636, allocations: 40 kB / 439.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007567/0.2643, allocations: 492.9 kB / 439.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.2644, allocations: 3.938 kB / 439.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.2644, allocations: 20 kB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.2644, allocations: 12 kB / 439.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.2649, allocations: 250.1 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.2674, allocations: 2.747 MB / 442.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.2678, allocations: 162.7 kB / 443.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.2679, allocations: 56.84 kB / 443.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.966e-05/0.268, allocations: 11.98 kB / 443.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.268, allocations: 38.5 kB / 443.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.2681, allocations: 0 / 443.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001296/0.2693, allocations: 0.5585 MB / 443.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.2694, allocations: 51.41 kB / 443.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.2698, allocations: 353.6 kB / 444.2 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.2698, allocations: 29.7 kB / 444.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.2701, allocations: 311.7 kB / 444.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.908e-05/0.2701, allocations: 63.47 kB / 444.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.2702, allocations: 69.61 kB / 444.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.2704, allocations: 354.7 kB / 445 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.2705, allocations: 63.97 kB / 445 MB, free: 9.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.2708, allocations: 215.4 kB / 445.2 MB, free: 8.824 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.0009993/0.2718, allocations: 448.9 kB / 445.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2718, allocations: 8 kB / 445.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006225/0.2724, allocations: 360.5 kB / 446 MB, free: 7.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2724, allocations: 8 kB / 446 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2724, allocations: 4 kB / 446 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.2726, allocations: 36.83 kB / 446.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.2728, allocations: 83.78 kB / 446.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.2743, allocations: 1.531 MB / 447.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.2744, allocations: 16 kB / 447.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.2744, allocations: 12 kB / 447.7 MB, free: 6.145 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.0002029/0.2746, allocations: 181.7 kB / 447.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.2747, allocations: 39.7 kB / 447.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.759e-05/0.2748, allocations: 39.53 kB / 448 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2748, allocations: 0 / 448 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2748, allocations: 4 kB / 448 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2748, allocations: 0 / 448 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2758, allocations: 0.686 MB / 448.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2758, allocations: 4 kB / 448.7 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.276, allocations: 31.92 kB / 448.7 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.641e-05/0.2761, allocations: 28.97 kB / 448.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.2761, allocations: 8 kB / 448.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.2771, allocations: 1.323 MB / 450.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2771, allocations: 0 / 450.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.2777, allocations: 379.8 kB / 450.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.2777, allocations: 27.77 kB / 450.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.2778, allocations: 0 / 450.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.2779, allocations: 8 kB / 450.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.2779, allocations: 15.91 kB / 450.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.2779, allocations: 8 kB / 450.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002431/0.2782, allocations: 235.2 kB / 450.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2782, allocations: 4 kB / 450.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.2786, allocations: 68 kB / 450.8 MB, free: 2.855 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.0001126/0.2787, allocations: 103.2 kB / 450.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005742/0.2793, allocations: 295.7 kB / 451.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2793, allocations: 7.938 kB / 451.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.2795, allocations: 174.6 kB / 451.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.2799, allocations: 41.44 kB / 451.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2813, allocations: 0.864 MB / 452.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.2818, allocations: 0.8184 MB / 453.1 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.2819, allocations: 39.27 kB / 453.1 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.282, allocations: 35.42 kB / 453.2 MB, free: 412 kB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.282, allocations: 4 kB / 453.2 MB, free: 408 kB / 350.1 MB Notification: Performance of Templates: time 0.007718/0.2897, allocations: 2.961 MB / 456.1 MB, free: 13.46 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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: 4.729576458921656]