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.002573/0.002573, allocations: 91.62 kB / 20.96 MB, free: 3.461 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.003043/0.003043, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 18.57 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.645/1.645, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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 1.784e-06/1.784e-06, allocations: 0 / 272.3 MB, free: 1.883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.232e-05, allocations: 2.312 kB / 272.3 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.0075/0.007532, allocations: 2.999 MB / 275.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.01045, allocations: 0.9981 MB / 276.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.01075, allocations: 19.81 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.01116, allocations: 95.05 kB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.0115, allocations: 102.9 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009289/0.01243, allocations: 243.5 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.01355, allocations: 0.5524 MB / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004625/0.01401, allocations: 143.2 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00065/0.01466, allocations: 275.4 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.01498, allocations: 123.5 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.89e-05/0.01508, allocations: 39.94 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.01529, allocations: 59.97 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.01543, allocations: 87.56 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.0157, allocations: 139.6 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.01684, allocations: 0.58 MB / 278.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.01685, allocations: 8 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01686, allocations: 0 / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.01686, allocations: 0 / 278.7 MB, free: 11.41 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.001813/0.01868, allocations: 0.8072 MB / 279.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.01872, allocations: 15.97 kB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.01911, allocations: 104.3 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.02017, allocations: 378.4 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/0.02023, allocations: 29 kB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.02035, allocations: 43.95 kB / 280.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.02178, allocations: 0.5589 MB / 280.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.02181, allocations: 4 kB / 280.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/0.02187, allocations: 23.98 kB / 280.7 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.0219, allocations: 12 kB / 280.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008641/0.02276, allocations: 234.2 kB / 280.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005503/0.02826, allocations: 3.83 MB / 284.7 MB, free: 5.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.02897, allocations: 163.2 kB / 284.9 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.02921, allocations: 63.67 kB / 285 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.02933, allocations: 11.98 kB / 285 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.02939, allocations: 37.39 kB / 285 MB, free: 4.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.444e-06/0.02939, allocations: 0 / 285 MB, free: 4.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.002225/0.03161, allocations: 0.5666 MB / 285.6 MB, free: 4.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.03169, allocations: 55.41 kB / 285.6 MB, free: 4.094 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009119/0.0326, allocations: 482.6 kB / 286.1 MB, free: 3.609 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.03264, allocations: 33.7 kB / 286.1 MB, free: 3.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/0.03312, allocations: 374.5 kB / 286.5 MB, free: 3.195 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.03323, allocations: 67.44 kB / 286.6 MB, free: 3.129 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.03342, allocations: 87.3 kB / 286.7 MB, free: 3.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000486/0.03391, allocations: 0.5391 MB / 287.2 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.03416, allocations: 63.97 kB / 287.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.03474, allocations: 288.7 kB / 287.5 MB, free: 2.043 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.001827/0.03657, allocations: 0.5074 MB / 288 MB, free: 1.441 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.03658, allocations: 0 / 288 MB, free: 1.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001188/0.03776, allocations: 377.1 kB / 288.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.03779, allocations: 15.94 kB / 288.4 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.03781, allocations: 4 kB / 288.4 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002853/0.03809, allocations: 47.66 kB / 288.5 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.03853, allocations: 71.91 kB / 288.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.04146, allocations: 2.118 MB / 290.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.04175, allocations: 15.98 kB / 290.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.04178, allocations: 20.03 kB / 290.7 MB, free: 14.64 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.0003767/0.04216, allocations: 215.5 kB / 290.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.04227, allocations: 43.77 kB / 291 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.04237, allocations: 39.52 kB / 291 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.04237, allocations: 0 / 291 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.04238, allocations: 3.938 kB / 291 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.04239, allocations: 4 kB / 291 MB, free: 14.34 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.001808/0.0442, allocations: 0.7076 MB / 291.7 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.0442, allocations: 4.078 kB / 291.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.04452, allocations: 31.98 kB / 291.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001759/0.0447, allocations: 35.59 kB / 291.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.04472, allocations: 8 kB / 291.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/0.04707, allocations: 1.819 MB / 293.6 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.04708, allocations: 7.875 kB / 293.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.04814, allocations: 424.5 kB / 294 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.04824, allocations: 31.77 kB / 294.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.04829, allocations: 3.938 kB / 294.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.04849, allocations: 11.98 kB / 294.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.04856, allocations: 11.92 kB / 294.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.04859, allocations: 8 kB / 294.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005794/0.04917, allocations: 303.1 kB / 294.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.04917, allocations: 0 / 294.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008636/0.05003, allocations: 68 kB / 294.5 MB, free: 10.68 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.0002175/0.05025, allocations: 99.25 kB / 294.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.05136, allocations: 386.2 kB / 294.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.05136, allocations: 4 kB / 294.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004943/0.05186, allocations: 242.1 kB / 295.2 MB, free: 9.918 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006072/0.05246, allocations: 45.67 kB / 295.2 MB, free: 9.875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.05494, allocations: 0.8026 MB / 296 MB, free: 9.031 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.0553, allocations: 207.2 kB / 296.2 MB, free: 8.805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002032/0.05551, allocations: 39.27 kB / 296.3 MB, free: 8.766 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.05564, allocations: 36.48 kB / 296.3 MB, free: 8.73 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.05564, allocations: 0 / 296.3 MB, free: 8.73 MB / 282.7 MB Notification: Performance of Templates: time 0.01013/0.06577, allocations: 2.705 MB / 299 MB, free: 6.082 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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.633610418997705]