Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00184/0.00184, allocations: 92.33 kB / 21.73 MB, free: 2.68 MB / 18.57 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.002187/0.002187, allocations: 164.4 kB / 25.02 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 250.3 MB, free: 3.973 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.339e-05, allocations: 2.312 kB / 250.3 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005301/0.005334, allocations: 2.832 MB / 253.2 MB, free: 1.117 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.007567, allocations: 0.9717 MB / 254.1 MB, free: 144 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.007781, allocations: 15.88 kB / 254.2 MB, free: 128 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.008103, allocations: 98.98 kB / 254.2 MB, free: 28 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.008338, allocations: 102.9 kB / 254.4 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.008973, allocations: 219.6 kB / 254.6 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007585/0.009731, allocations: 0.5524 MB / 255.1 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.01008, allocations: 147.1 kB / 255.3 MB, free: 15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/0.01051, allocations: 263.4 kB / 255.5 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.01072, allocations: 123.5 kB / 255.6 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.051e-05/0.0108, allocations: 40 kB / 255.7 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.01093, allocations: 48 kB / 255.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.01104, allocations: 87.61 kB / 255.8 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.01122, allocations: 143.6 kB / 256 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007735/0.012, allocations: 0.576 MB / 256.5 MB, free: 13.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.012, allocations: 0 / 256.5 MB, free: 13.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.012, allocations: 0 / 256.5 MB, free: 13.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.01201, allocations: 0 / 256.5 MB, free: 13.73 MB / 250.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.001173/0.01318, allocations: 0.6686 MB / 257.2 MB, free: 13.04 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.01324, allocations: 19.92 kB / 257.2 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.0134, allocations: 92.36 kB / 257.3 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007039/0.01411, allocations: 387.3 kB / 257.7 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.01415, allocations: 29 kB / 257.7 MB, free: 12.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.589e-05/0.01423, allocations: 44 kB / 257.8 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.01541, allocations: 483.4 kB / 258.2 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.01544, allocations: 11.89 kB / 258.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/0.01548, allocations: 16 kB / 258.3 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.01549, allocations: 12 kB / 258.3 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005637/0.01606, allocations: 246.2 kB / 258.5 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.01888, allocations: 2.63 MB / 261.1 MB, free: 8.875 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.01937, allocations: 154.7 kB / 261.3 MB, free: 8.715 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.01952, allocations: 64.83 kB / 261.4 MB, free: 8.648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-05/0.01962, allocations: 4 kB / 261.4 MB, free: 8.645 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.01966, allocations: 38.56 kB / 261.4 MB, free: 8.598 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.01966, allocations: 0 / 261.4 MB, free: 8.598 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.001443/0.0211, allocations: 0.5672 MB / 262 MB, free: 7.992 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.02116, allocations: 59.34 kB / 262 MB, free: 7.922 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.02161, allocations: 357.5 kB / 262.4 MB, free: 7.566 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.02163, allocations: 25.7 kB / 262.4 MB, free: 7.535 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.02192, allocations: 311.7 kB / 262.7 MB, free: 7.227 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.278e-05/0.02199, allocations: 67.42 kB / 262.8 MB, free: 7.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.0221, allocations: 69.61 kB / 262.8 MB, free: 7.086 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.02233, allocations: 346.8 kB / 263.2 MB, free: 6.738 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.02249, allocations: 63.97 kB / 263.2 MB, free: 6.676 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.02283, allocations: 215.5 kB / 263.4 MB, free: 6.395 MB / 250.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.001065/0.0239, allocations: 447.3 kB / 263.9 MB, free: 5.887 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.0239, allocations: 0 / 263.9 MB, free: 5.887 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000707/0.02461, allocations: 373.9 kB / 264.2 MB, free: 5.512 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.02463, allocations: 11.94 kB / 264.3 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.02464, allocations: 4 kB / 264.3 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.02481, allocations: 40.84 kB / 264.3 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.02509, allocations: 71.84 kB / 264.4 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.027, allocations: 1.509 MB / 265.9 MB, free: 3.766 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.02717, allocations: 19.94 kB / 265.9 MB, free: 3.746 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.0272, allocations: 12 kB / 265.9 MB, free: 3.734 MB / 250.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.000255/0.02745, allocations: 169.7 kB / 266.1 MB, free: 3.559 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.262e-05/0.02755, allocations: 47.75 kB / 266.1 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.66e-05/0.02762, allocations: 39.53 kB / 266.2 MB, free: 3.473 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.02762, allocations: 144 / 266.2 MB, free: 3.473 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.02763, allocations: 3.938 kB / 266.2 MB, free: 3.469 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.02764, allocations: 8.047 kB / 266.2 MB, free: 3.461 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.02865, allocations: 0.5661 MB / 266.7 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02865, allocations: 4 kB / 266.7 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.02884, allocations: 31.97 kB / 266.8 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.641e-05/0.02893, allocations: 24.84 kB / 266.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.02896, allocations: 8 kB / 266.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.03022, allocations: 1.3 MB / 268.1 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.03022, allocations: 3.938 kB / 268.1 MB, free: 1.379 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.03086, allocations: 369.8 kB / 268.5 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.03091, allocations: 35.8 kB / 268.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.03094, allocations: 7.938 kB / 268.5 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.03107, allocations: 8 kB / 268.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.03112, allocations: 12.2 kB / 268.5 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.03114, allocations: 4 kB / 268.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003066/0.03144, allocations: 235.2 kB / 268.8 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03144, allocations: 4 kB / 268.8 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004608/0.03191, allocations: 68 kB / 268.8 MB, free: 0.6328 MB / 250.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.0001562/0.03206, allocations: 103.2 kB / 268.9 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006706/0.03273, allocations: 306.6 kB / 269.2 MB, free: 216 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.03273, allocations: 0 / 269.2 MB, free: 216 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.033, allocations: 174.6 kB / 269.4 MB, free: 28 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.03341, allocations: 45.81 kB / 269.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.035, allocations: 0.7833 MB / 270.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.03528, allocations: 211.1 kB / 270.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.03542, allocations: 47.25 kB / 270.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.789e-05/0.03551, allocations: 28.5 kB / 270.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.03551, allocations: 0 / 270.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Templates: time 0.008333/0.04384, allocations: 2.701 MB / 273.2 MB, free: 12.19 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.477267048088834]