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.001016/0.001016, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001/0.001, allocations: 166.2 kB / 24.99 MB, free: 8.336 MB / 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 0.972/0.972, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.523e-06/1.523e-06, allocations: 0 / 273 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.192e-05, allocations: 6.312 kB / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003691/0.003713, allocations: 3.013 MB / 276 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.00526, allocations: 1.01 MB / 277 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.005454, allocations: 15.88 kB / 277.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.005683, allocations: 95.05 kB / 277.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.005855, allocations: 106.9 kB / 277.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.00635, allocations: 231.5 kB / 277.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005064/0.006857, allocations: 0.5563 MB / 278 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.007121, allocations: 147.2 kB / 278.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.007461, allocations: 275.4 kB / 278.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.007624, allocations: 123.5 kB / 278.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.007672, allocations: 40 kB / 278.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.007777, allocations: 48 kB / 278.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.007842, allocations: 99.59 kB / 278.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.007965, allocations: 135.6 kB / 278.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.008401, allocations: 370.4 kB / 279.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.008404, allocations: 0 / 279.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.008405, allocations: 0 / 279.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.008411, allocations: 4 kB / 279.3 MB, free: 11.6 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.0008241/0.009235, allocations: 0.7763 MB / 280 MB, free: 10.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.009278, allocations: 12.03 kB / 280 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.009489, allocations: 104.3 kB / 280.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.009985, allocations: 382.3 kB / 280.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.01002, allocations: 33 kB / 280.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.014e-05/0.01011, allocations: 43.98 kB / 280.6 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.01068, allocations: 497.1 kB / 281.1 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.0107, allocations: 0 / 281.1 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.01073, allocations: 20 kB / 281.1 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.01075, allocations: 12 kB / 281.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.01107, allocations: 179.4 kB / 281.3 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.01302, allocations: 3.68 MB / 285 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.01333, allocations: 119.1 kB / 285.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.751e-05/0.01341, allocations: 43.7 kB / 285.1 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.613e-05/0.01349, allocations: 8 kB / 285.1 MB, free: 5.379 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.01351, allocations: 37.39 kB / 285.2 MB, free: 5.332 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.01351, allocations: 4 kB / 285.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009229/0.01444, allocations: 486.9 kB / 285.7 MB, free: 4.812 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.01447, allocations: 55.41 kB / 285.7 MB, free: 4.746 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/0.0149, allocations: 390.6 kB / 286.1 MB, free: 4.352 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.01492, allocations: 29.7 kB / 286.1 MB, free: 4.316 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.0151, allocations: 362.4 kB / 286.5 MB, free: 3.953 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.01515, allocations: 67.44 kB / 286.5 MB, free: 3.887 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-05/0.01524, allocations: 71.31 kB / 286.6 MB, free: 3.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.01538, allocations: 0.5157 MB / 287.1 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.416e-05/0.01545, allocations: 35.97 kB / 287.2 MB, free: 3.246 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.01564, allocations: 256.5 kB / 287.4 MB, free: 2.898 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.0004429/0.01608, allocations: 383.6 kB / 287.8 MB, free: 2.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01608, allocations: 0 / 287.8 MB, free: 2.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004323/0.01651, allocations: 312.5 kB / 288.1 MB, free: 2.113 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.01653, allocations: 8 kB / 288.1 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.01654, allocations: 11.94 kB / 288.1 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.01669, allocations: 32.33 kB / 288.1 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.01688, allocations: 71.91 kB / 288.2 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.01797, allocations: 2.04 MB / 290.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.0181, allocations: 23.94 kB / 290.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.01812, allocations: 12 kB / 290.3 MB, free: 15.79 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.0001372/0.01826, allocations: 195.6 kB / 290.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.01831, allocations: 35.77 kB / 290.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.01836, allocations: 39.56 kB / 290.5 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01836, allocations: 4 kB / 290.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01836, allocations: 4 kB / 290.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.01837, allocations: 3.938 kB / 290.6 MB, free: 15.51 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.0006621/0.01903, allocations: 0.5743 MB / 291.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01903, allocations: 3.938 kB / 291.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.01917, allocations: 35.92 kB / 291.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.232e-05/0.01924, allocations: 23.67 kB / 291.2 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.01925, allocations: 8 kB / 291.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009015/0.02015, allocations: 1.761 MB / 293 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.02016, allocations: 7.984 kB / 293 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.02048, allocations: 351.3 kB / 293.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.02051, allocations: 27.77 kB / 293.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.02053, allocations: 11.94 kB / 293.4 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.02062, allocations: 0 / 293.4 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.02066, allocations: 15.97 kB / 293.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.02067, allocations: 4 kB / 293.4 MB, free: 12.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001806/0.02085, allocations: 255.1 kB / 293.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02085, allocations: 0 / 293.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004019/0.02125, allocations: 68 kB / 293.7 MB, free: 12.18 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.0001004/0.02135, allocations: 99.25 kB / 293.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004186/0.02177, allocations: 340.8 kB / 294.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02177, allocations: 0 / 294.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.02192, allocations: 227.8 kB / 294.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.02225, allocations: 41.48 kB / 294.4 MB, free: 11.44 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.02361, allocations: 0.7796 MB / 295.2 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.634e-05/0.02368, allocations: 104.5 kB / 295.3 MB, free: 10.49 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.559e-05/0.02378, allocations: 43.27 kB / 295.3 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.02384, allocations: 36.48 kB / 295.3 MB, free: 10.42 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02384, allocations: 0 / 295.3 MB, free: 10.42 MB / 282.7 MB Notification: Performance of Templates: time 0.005659/0.0295, allocations: 2.7 MB / 298 MB, free: 7.777 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7339807350654155]