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.004607/0.004607, allocations: 114.2 kB / 21.97 MB, free: 5.227 MB / 14.72 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.001359/0.001359, allocations: 216.3 kB / 25.28 MB, free: 3.246 MB / 14.72 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.327/1.327, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 53.86 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2617, allocations: 49.16 MB / 397.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003576/0.2653, allocations: 3.075 MB / 400.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.2668, allocations: 1.028 MB / 401.2 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.267, allocations: 18.44 kB / 401.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.2672, allocations: 94.88 kB / 401.3 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.2674, allocations: 93.06 kB / 401.4 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.2679, allocations: 229.9 kB / 401.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005731/0.2685, allocations: 0.5383 MB / 402.2 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.2688, allocations: 151.5 kB / 402.3 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.269, allocations: 181.7 kB / 402.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.2692, allocations: 182.3 kB / 402.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.2693, allocations: 35.78 kB / 402.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.2694, allocations: 53.89 kB / 402.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.2695, allocations: 88.92 kB / 402.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.2696, allocations: 229 kB / 403.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006455/0.2703, allocations: 0.5825 MB / 403.7 MB, free: 4.734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2703, allocations: 1.219 kB / 403.7 MB, free: 4.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2703, allocations: 0 / 403.7 MB, free: 4.734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.2703, allocations: 0 / 403.7 MB, free: 4.734 MB / 318.1 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.0008644/0.2712, allocations: 0.6816 MB / 404.4 MB, free: 4.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2712, allocations: 13.89 kB / 404.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.166e-05/0.2712, allocations: 15.59 kB / 404.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.129e-05/0.2713, allocations: 77 kB / 404.5 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/0.2714, allocations: 63 kB / 404.5 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.272, allocations: 352 kB / 404.9 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.272, allocations: 33.38 kB / 404.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.2721, allocations: 42.45 kB / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.2727, allocations: 486.8 kB / 405.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.2727, allocations: 5.781 kB / 405.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.2727, allocations: 18.75 kB / 405.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.2727, allocations: 14.56 kB / 405.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.2732, allocations: 243.8 kB / 405.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.2748, allocations: 2.748 MB / 408.4 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.2752, allocations: 157.2 kB / 408.6 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.2753, allocations: 66.34 kB / 408.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-05/0.2754, allocations: 14.05 kB / 408.7 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.2754, allocations: 33.44 kB / 408.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.2754, allocations: 0 / 408.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001126/0.2766, allocations: 0.5539 MB / 409.3 MB, free: 412 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.2766, allocations: 53.45 kB / 409.3 MB, free: 348 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.2769, allocations: 353.3 kB / 409.7 MB, free: 156 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.2769, allocations: 27.7 kB / 409.7 MB, free: 124 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.2772, allocations: 302.9 kB / 410 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.2772, allocations: 67.14 kB / 410 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.2773, allocations: 78.36 kB / 410.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2775, allocations: 350.1 kB / 410.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.2776, allocations: 64.34 kB / 410.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.2779, allocations: 211.4 kB / 410.7 MB, free: 15.19 MB / 334.1 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.0009061/0.2788, allocations: 450.4 kB / 411.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2788, allocations: 2.75 kB / 411.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000591/0.2794, allocations: 367.8 kB / 411.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.2794, allocations: 10.94 kB / 411.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2794, allocations: 5.5 kB / 411.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.2796, allocations: 33.23 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.2798, allocations: 74.73 kB / 411.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.2813, allocations: 1.541 MB / 413.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.2815, allocations: 12.48 kB / 413.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.2815, allocations: 17.59 kB / 413.2 MB, free: 13.17 MB / 334.1 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.0002448/0.2817, allocations: 175.4 kB / 413.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.2818, allocations: 36.47 kB / 413.4 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.564e-05/0.2819, allocations: 42.8 kB / 413.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2819, allocations: 1.594 kB / 413.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2819, allocations: 1.375 kB / 413.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2819, allocations: 1.078 kB / 413.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009956/0.2829, allocations: 0.6844 MB / 414.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2829, allocations: 0 / 414.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.283, allocations: 31.41 kB / 414.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.054e-05/0.2831, allocations: 27.64 kB / 414.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.2831, allocations: 11.55 kB / 414.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.2842, allocations: 1.325 MB / 415.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2842, allocations: 5.219 kB / 415.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.2847, allocations: 363.9 kB / 415.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.2848, allocations: 28.92 kB / 415.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.2848, allocations: 2.562 kB / 415.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.2849, allocations: 6.703 kB / 416 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.285, allocations: 20.58 kB / 416 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.285, allocations: 2.812 kB / 416 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.2852, allocations: 236.4 kB / 416.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2852, allocations: 5.312 kB / 416.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004433/0.2857, allocations: 66.97 kB / 416.3 MB, free: 10.71 MB / 334.1 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.0008212/0.2865, allocations: 0.9057 MB / 417.2 MB, free: 9.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005723/0.2871, allocations: 301.9 kB / 417.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2871, allocations: 0 / 417.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.2873, allocations: 188.4 kB / 417.7 MB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.2877, allocations: 32.95 kB / 417.7 MB, free: 9.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.292, allocations: 3.344 MB / 421 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.2925, allocations: 0.8148 MB / 421.9 MB, free: 6.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.2926, allocations: 42.73 kB / 421.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.2928, allocations: 153.8 kB / 422 MB, free: 6.18 MB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2928, allocations: 0 / 422 MB, free: 6.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.3257, allocations: 6.59 MB / 428.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.61, allocations: 27.69 kB / 428.7 MB, free: 2.566 MB / 334.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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: 13.873461525014136]