Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001457/0.001457, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001581/0.001581, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.445e-05, allocations: 6.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004649/0.004674, allocations: 2.837 MB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.006584, allocations: 0.9901 MB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.00675, allocations: 15.88 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.007024, allocations: 103 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.00725, allocations: 98.95 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005537/0.007804, allocations: 235.5 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006793/0.008483, allocations: 0.5563 MB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003023/0.008785, allocations: 143.2 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004294/0.009215, allocations: 283.3 kB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.00941, allocations: 119.5 kB / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.304e-05/0.009473, allocations: 36 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.0096, allocations: 51.98 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.009697, allocations: 95.55 kB / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.009867, allocations: 139.6 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007395/0.01061, allocations: 0.576 MB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.01061, allocations: 8 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01061, allocations: 0 / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.01062, allocations: 0 / 278.4 MB, free: 11.52 MB / 266.7 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.001128/0.01175, allocations: 0.6725 MB / 279.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.01179, allocations: 19.97 kB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.01207, allocations: 100.3 kB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.01275, allocations: 379.5 kB / 279.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.01279, allocations: 29 kB / 279.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/0.01287, allocations: 47.89 kB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008542/0.01372, allocations: 491.3 kB / 280.2 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.01375, allocations: 4 kB / 280.2 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.01378, allocations: 16 kB / 280.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.0138, allocations: 12 kB / 280.2 MB, free: 9.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/0.01434, allocations: 250.2 kB / 280.4 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/0.01712, allocations: 2.642 MB / 283.1 MB, free: 6.625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/0.01759, allocations: 158.6 kB / 283.2 MB, free: 6.461 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.01774, allocations: 68.81 kB / 283.3 MB, free: 6.391 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-05/0.01783, allocations: 8 kB / 283.3 MB, free: 6.383 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.505e-05/0.01787, allocations: 42.5 kB / 283.3 MB, free: 6.332 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.01787, allocations: 0 / 283.3 MB, free: 6.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001387/0.01926, allocations: 0.5518 MB / 283.9 MB, free: 5.742 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.01931, allocations: 51.41 kB / 283.9 MB, free: 5.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000427/0.01973, allocations: 361.5 kB / 284.3 MB, free: 5.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.01976, allocations: 25.7 kB / 284.3 MB, free: 5.289 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.02003, allocations: 307.7 kB / 284.6 MB, free: 4.984 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.02009, allocations: 67.47 kB / 284.7 MB, free: 4.918 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.02019, allocations: 65.66 kB / 284.7 MB, free: 4.848 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.0204, allocations: 346.8 kB / 285.1 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.02055, allocations: 63.97 kB / 285.2 MB, free: 4.438 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.02085, allocations: 219.6 kB / 285.4 MB, free: 4.152 MB / 266.7 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.001019/0.02187, allocations: 453.6 kB / 285.8 MB, free: 3.641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.02187, allocations: 0 / 285.8 MB, free: 3.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006675/0.02254, allocations: 374.2 kB / 286.2 MB, free: 3.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.02256, allocations: 16.06 kB / 286.2 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.02257, allocations: 4 kB / 286.2 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.02275, allocations: 44.84 kB / 286.2 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.02301, allocations: 71.84 kB / 286.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.02457, allocations: 1.509 MB / 287.8 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.02475, allocations: 16 kB / 287.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.02477, allocations: 20.06 kB / 287.9 MB, free: 1.48 MB / 266.7 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.0003222/0.0251, allocations: 169.6 kB / 288 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.02517, allocations: 43.77 kB / 288.1 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.568e-05/0.02524, allocations: 39.53 kB / 288.1 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.02525, allocations: 0 / 288.1 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.515e-06/0.02525, allocations: 7.938 kB / 288.1 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.02526, allocations: 0 / 288.1 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009985/0.02625, allocations: 0.5651 MB / 288.7 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.02626, allocations: 0 / 288.7 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.02645, allocations: 35.92 kB / 288.7 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.953e-05/0.02655, allocations: 28.84 kB / 288.7 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.02656, allocations: 0 / 288.7 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.02779, allocations: 1.304 MB / 290 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.0278, allocations: 3.938 kB / 290 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.02839, allocations: 372.2 kB / 290.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.02844, allocations: 35.77 kB / 290.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.02847, allocations: 3.938 kB / 290.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.02859, allocations: 8 kB / 290.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.02865, allocations: 12.02 kB / 290.5 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.02866, allocations: 8 kB / 290.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002731/0.02893, allocations: 235.2 kB / 290.7 MB, free: 14.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02893, allocations: 0 / 290.7 MB, free: 14.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004593/0.02939, allocations: 68 kB / 290.8 MB, free: 14.39 MB / 282.7 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.0001326/0.02952, allocations: 103.2 kB / 290.9 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006202/0.03014, allocations: 299.3 kB / 291.2 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.03015, allocations: 0 / 291.2 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.03041, allocations: 190.6 kB / 291.3 MB, free: 13.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.03079, allocations: 40.75 kB / 291.4 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.03231, allocations: 0.806 MB / 292.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.03256, allocations: 211.2 kB / 292.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.03268, allocations: 35.27 kB / 292.4 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.03277, allocations: 36.48 kB / 292.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03277, allocations: 0 / 292.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of Templates: time 0.007867/0.04064, allocations: 2.687 MB / 295.2 MB, free: 9.973 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.398100795922801]