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.0009651/0.0009651, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009952/0.0009952, allocations: 160.5 kB / 24.55 MB, free: 16 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.072/1.072, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.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 1.843e-06/1.843e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.249e-05, allocations: 2.312 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00418/0.004213, allocations: 3.026 MB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.006034, allocations: 1.014 MB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.006241, allocations: 15.88 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.0065, allocations: 103 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.006674, allocations: 98.95 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.00728, allocations: 235.5 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005354/0.007816, allocations: 0.5641 MB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.008091, allocations: 147.1 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000513/0.008604, allocations: 271.3 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.008781, allocations: 123.5 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.008837, allocations: 39.98 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.008975, allocations: 51.98 kB / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.009039, allocations: 91.61 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.009168, allocations: 139.6 kB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004877/0.009656, allocations: 378.4 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.009662, allocations: 0 / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009663, allocations: 0 / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.00967, allocations: 3.938 kB / 279.1 MB, free: 11.16 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.0008839/0.01055, allocations: 0.7724 MB / 279.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.0106, allocations: 11.98 kB / 279.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.01084, allocations: 100.3 kB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.01134, allocations: 390.2 kB / 280.4 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.01137, allocations: 29 kB / 280.4 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.525e-05/0.01143, allocations: 40 kB / 280.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.01204, allocations: 493.2 kB / 281 MB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.01207, allocations: 11.94 kB / 281 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.0121, allocations: 20 kB / 281 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.01212, allocations: 12 kB / 281 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.01246, allocations: 167.5 kB / 281.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.01458, allocations: 3.676 MB / 284.8 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.01497, allocations: 119.2 kB / 285 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.464e-05/0.01506, allocations: 47.55 kB / 285 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.01517, allocations: 11.98 kB / 285 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.0152, allocations: 41.39 kB / 285.1 MB, free: 4.891 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/0.01521, allocations: 0 / 285.1 MB, free: 4.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.00119/0.0164, allocations: 486.4 kB / 285.5 MB, free: 4.379 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.01644, allocations: 55.41 kB / 285.6 MB, free: 4.312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.01678, allocations: 394.6 kB / 286 MB, free: 3.914 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.01681, allocations: 29.7 kB / 286 MB, free: 3.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.01702, allocations: 354.4 kB / 286.3 MB, free: 3.523 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.01708, allocations: 71.42 kB / 286.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.01717, allocations: 75.3 kB / 286.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.01734, allocations: 0.5157 MB / 287 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/0.01741, allocations: 31.98 kB / 287 MB, free: 2.812 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.01759, allocations: 252.6 kB / 287.3 MB, free: 2.469 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.0004742/0.01807, allocations: 388.2 kB / 287.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01807, allocations: 0 / 287.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000445/0.01852, allocations: 316.5 kB / 288 MB, free: 1.676 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.01854, allocations: 15.92 kB / 288 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.01855, allocations: 8.625 kB / 288 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.01875, allocations: 39.67 kB / 288 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.01896, allocations: 75.84 kB / 288.1 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.0203, allocations: 2.029 MB / 290.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.02042, allocations: 11.94 kB / 290.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.02045, allocations: 23.98 kB / 290.2 MB, free: 15.35 MB / 282.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.000156/0.0206, allocations: 184.4 kB / 290.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.02066, allocations: 43.77 kB / 290.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.02071, allocations: 35.53 kB / 290.4 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02072, allocations: 4.141 kB / 290.4 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.02072, allocations: 0 / 290.4 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.02073, allocations: 11.91 kB / 290.4 MB, free: 15.07 MB / 282.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.0007096/0.02144, allocations: 0.5631 MB / 291 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.02144, allocations: 0 / 291 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.02158, allocations: 39.92 kB / 291 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.487e-05/0.02167, allocations: 23.7 kB / 291.1 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.02169, allocations: 12 kB / 291.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.02275, allocations: 1.756 MB / 292.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02275, allocations: 0 / 292.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.02308, allocations: 347.4 kB / 293.2 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.02311, allocations: 31.77 kB / 293.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.02313, allocations: 7.938 kB / 293.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.02322, allocations: 12.02 kB / 293.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.02327, allocations: 12.17 kB / 293.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.02328, allocations: 4 kB / 293.2 MB, free: 12.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000188/0.02347, allocations: 247.1 kB / 293.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02347, allocations: 4 kB / 293.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004083/0.02388, allocations: 68 kB / 293.6 MB, free: 11.75 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.0001252/0.024, allocations: 107.2 kB / 293.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004504/0.02445, allocations: 340.9 kB / 294 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.02445, allocations: 0 / 294 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.0246, allocations: 217.5 kB / 294.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.02493, allocations: 50.16 kB / 294.3 MB, free: 11.01 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.02637, allocations: 0.7929 MB / 295 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.134e-05/0.02645, allocations: 100.6 kB / 295.1 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.548e-05/0.02654, allocations: 47.19 kB / 295.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.02661, allocations: 28.5 kB / 295.2 MB, free: 9.992 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02661, allocations: 0 / 295.2 MB, free: 9.992 MB / 282.7 MB Notification: Performance of Templates: time 0.006514/0.03312, allocations: 2.708 MB / 297.9 MB, free: 7.34 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=240 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.074114862829447]