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.001061/0.001061, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001731/0.002791, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001124/0.001124, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001602/0.002727, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.023/1.023, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.091/1.114, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] 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 3.136e-06/3.136e-06, allocations: 3.984 kB / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.376e-05, allocations: 5.406 kB / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003378/0.003412, allocations: 3.033 MB / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.004839, allocations: 1.044 MB / 249.3 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.005007, allocations: 19.81 kB / 249.3 MB, free: 9.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.00517, allocations: 95.03 kB / 249.4 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.005313, allocations: 110.8 kB / 249.5 MB, free: 9.273 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.00567, allocations: 235.5 kB / 249.7 MB, free: 9.043 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.006091, allocations: 0.5486 MB / 250.3 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.006297, allocations: 149.2 kB / 250.4 MB, free: 8.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.006619, allocations: 295.3 kB / 250.7 MB, free: 8.051 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.006761, allocations: 123.5 kB / 250.8 MB, free: 7.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.006799, allocations: 40 kB / 250.9 MB, free: 7.891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.006908, allocations: 55.98 kB / 250.9 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.567e-05/0.006953, allocations: 71.69 kB / 251 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.978e-05/0.007043, allocations: 119.7 kB / 251.1 MB, free: 7.648 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.007364, allocations: 346.5 kB / 251.4 MB, free: 7.309 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.007374, allocations: 3.938 kB / 251.4 MB, free: 7.305 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.007375, allocations: 0 / 251.4 MB, free: 7.305 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.007385, allocations: 0 / 251.4 MB, free: 7.305 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.0006868/0.008072, allocations: 0.7605 MB / 252.2 MB, free: 6.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.676e-05/0.008099, allocations: 12.03 kB / 252.2 MB, free: 6.508 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.008272, allocations: 157.7 kB / 252.4 MB, free: 6.336 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.008613, allocations: 316.9 kB / 252.7 MB, free: 6 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.008631, allocations: 32.94 kB / 252.7 MB, free: 5.969 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.008673, allocations: 44 kB / 252.8 MB, free: 5.926 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.009024, allocations: 427.9 kB / 253.2 MB, free: 5.426 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.009039, allocations: 0 / 253.2 MB, free: 5.426 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.009057, allocations: 20 kB / 253.2 MB, free: 5.406 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.009068, allocations: 12 kB / 253.2 MB, free: 5.395 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.009224, allocations: 146.8 kB / 253.3 MB, free: 5.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.01042, allocations: 2.44 MB / 255.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.01062, allocations: 106.3 kB / 255.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.01066, allocations: 32.84 kB / 255.9 MB, free: 2.562 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/0.01071, allocations: 12 kB / 255.9 MB, free: 2.551 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.01073, allocations: 30.56 kB / 256 MB, free: 2.512 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.01074, allocations: 0 / 256 MB, free: 2.512 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006361/0.01137, allocations: 376.6 kB / 256.3 MB, free: 2.109 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.0114, allocations: 55.41 kB / 256.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.01159, allocations: 339.1 kB / 256.7 MB, free: 1.695 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.01161, allocations: 29.7 kB / 256.7 MB, free: 1.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.01174, allocations: 272.3 kB / 257 MB, free: 1.391 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.01178, allocations: 67.42 kB / 257.1 MB, free: 1.324 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.01183, allocations: 65.69 kB / 257.1 MB, free: 1.254 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.01197, allocations: 350.7 kB / 257.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.072e-05/0.012, allocations: 23.98 kB / 257.5 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.01215, allocations: 187.4 kB / 257.7 MB, free: 0.625 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.000368/0.01252, allocations: 319.2 kB / 258 MB, free: 252 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01253, allocations: 4 kB / 258 MB, free: 248 kB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002754/0.0128, allocations: 234.2 kB / 258.2 MB, free: 4 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.01282, allocations: 4 kB / 258.2 MB, free: 0 / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.01282, allocations: 8.047 kB / 258.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.01295, allocations: 32.73 kB / 258.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.01313, allocations: 98.16 kB / 258.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007788/0.0139, allocations: 1.372 MB / 259.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.582e-05/0.014, allocations: 12 kB / 259.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.01401, allocations: 12 kB / 259.8 MB, free: 14.38 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.0001143/0.01413, allocations: 137.7 kB / 259.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.01416, allocations: 31.91 kB / 259.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.0142, allocations: 35.53 kB / 260 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.0142, allocations: 4 kB / 260 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.01421, allocations: 4.031 kB / 260 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.01421, allocations: 3.984 kB / 260 MB, free: 14.16 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.01469, allocations: 392.3 kB / 260.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.0147, allocations: 0 / 260.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.01483, allocations: 39.97 kB / 260.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.01486, allocations: 35.7 kB / 260.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.627e-05/0.01492, allocations: 24.97 kB / 260.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.01493, allocations: 4 kB / 260.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005681/0.0155, allocations: 1.182 MB / 261.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.0155, allocations: 3.938 kB / 261.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.01568, allocations: 249.5 kB / 261.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.0157, allocations: 8 kB / 261.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.845e-05/0.01576, allocations: 8 kB / 261.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.01579, allocations: 15.91 kB / 261.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.0158, allocations: 7.938 kB / 261.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.035e-05/0.01588, allocations: 128.7 kB / 262.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01588, allocations: 4.031 kB / 262.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.01612, allocations: 68 kB / 262.1 MB, free: 11.86 MB / 266.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 9.045e-05/0.01621, allocations: 80.42 kB / 262.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002885/0.01649, allocations: 268.7 kB / 262.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/0.01651, allocations: 8 kB / 262.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.01662, allocations: 171.4 kB / 262.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.01695, allocations: 284.7 kB / 262.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.02083, allocations: 0.7956 MB / 263.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.26e-05/0.0209, allocations: 108.6 kB / 263.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.854e-05/0.02097, allocations: 39.27 kB / 263.9 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.02116, allocations: 99.34 kB / 264 MB, free: 9.902 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.02116, allocations: 0 / 264 MB, free: 9.902 MB / 266.7 MB Notification: Performance of Templates: time 0.005579/0.02674, allocations: 2.927 MB / 266.9 MB, free: 7.031 MB / 266.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5547239454463124]