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.001337/0.001337, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.001418/0.001418, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.467/1.467, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",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.001751/0.001751, allocations: 55.91 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3092, allocations: 49.16 MB / 396.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004138/0.3133, allocations: 3.078 MB / 399.4 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.3152, allocations: 1.019 MB / 400.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.3154, allocations: 15.72 kB / 400.4 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.3157, allocations: 98.92 kB / 400.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.3158, allocations: 97.44 kB / 400.6 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.3164, allocations: 226.3 kB / 400.9 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006158/0.317, allocations: 0.533 MB / 401.4 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.3173, allocations: 156.6 kB / 401.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.3175, allocations: 184.5 kB / 401.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.3178, allocations: 179.1 kB / 401.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.561e-05/0.3179, allocations: 40.64 kB / 401.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.318, allocations: 49.67 kB / 402 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.488e-05/0.3181, allocations: 91.66 kB / 402.1 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.3183, allocations: 230.1 kB / 402.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008204/0.3191, allocations: 0.5848 MB / 402.9 MB, free: 4.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.3191, allocations: 1.062 kB / 402.9 MB, free: 4.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3191, allocations: 0 / 402.9 MB, free: 4.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.3192, allocations: 0 / 402.9 MB, free: 4.742 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.0009859/0.3201, allocations: 0.6809 MB / 403.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.3202, allocations: 14.25 kB / 403.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.723e-05/0.3203, allocations: 76.94 kB / 403.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.223e-05/0.3204, allocations: 63.97 kB / 403.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.321, allocations: 351.3 kB / 404.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.321, allocations: 33.88 kB / 404.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/0.3211, allocations: 42.92 kB / 404.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007976/0.3219, allocations: 490.4 kB / 404.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.3219, allocations: 6.625 kB / 404.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.3219, allocations: 17.25 kB / 404.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.322, allocations: 11.75 kB / 404.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/0.3225, allocations: 247.7 kB / 404.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.3247, allocations: 2.746 MB / 407.6 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.3251, allocations: 153.3 kB / 407.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.3252, allocations: 66.42 kB / 407.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.3253, allocations: 9.672 kB / 407.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.3254, allocations: 39.88 kB / 407.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.3254, allocations: 5.219 kB / 407.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.00143/0.3268, allocations: 0.5452 MB / 408.5 MB, free: 424 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.3268, allocations: 54.16 kB / 408.5 MB, free: 360 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.3273, allocations: 346.5 kB / 408.8 MB, free: 176 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.3273, allocations: 29.7 kB / 408.9 MB, free: 140 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.3275, allocations: 312.9 kB / 409.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.737e-05/0.3276, allocations: 64.94 kB / 409.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3277, allocations: 70.78 kB / 409.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000271/0.328, allocations: 351.2 kB / 409.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.3282, allocations: 63.06 kB / 409.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.3285, allocations: 216.2 kB / 409.9 MB, free: 15.21 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.001054/0.3295, allocations: 454.7 kB / 410.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3295, allocations: 1.625 kB / 410.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006165/0.3302, allocations: 363.3 kB / 410.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3302, allocations: 8.422 kB / 410.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3302, allocations: 5.5 kB / 410.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.3304, allocations: 34.02 kB / 410.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.3307, allocations: 81.92 kB / 410.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.3323, allocations: 1.533 MB / 412.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.3325, allocations: 15.81 kB / 412.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.3326, allocations: 13.75 kB / 412.4 MB, free: 13.19 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.0002845/0.3328, allocations: 178.6 kB / 412.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.3329, allocations: 37.34 kB / 412.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.492e-05/0.333, allocations: 43.23 kB / 412.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.333, allocations: 1.312 kB / 412.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.333, allocations: 5.656 kB / 412.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.333, allocations: 1.641 kB / 412.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.3341, allocations: 0.6723 MB / 413.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.3341, allocations: 3.938 kB / 413.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.3343, allocations: 32.34 kB / 413.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.83e-05/0.3344, allocations: 23.89 kB / 413.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3344, allocations: 17.84 kB / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.3357, allocations: 1.325 MB / 414.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3357, allocations: 5.594 kB / 414.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.3363, allocations: 363.8 kB / 415.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.3363, allocations: 29.27 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.3363, allocations: 6.891 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.3365, allocations: 6.625 kB / 415.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.3365, allocations: 20.25 kB / 415.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.3365, allocations: 11.05 kB / 415.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002711/0.3368, allocations: 234.7 kB / 415.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3368, allocations: 0 / 415.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004621/0.3373, allocations: 66 kB / 415.5 MB, free: 10.72 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.0008731/0.3381, allocations: 0.9054 MB / 416.4 MB, free: 9.938 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.3388, allocations: 299.9 kB / 416.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3388, allocations: 0 / 416.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.3391, allocations: 186.3 kB / 416.9 MB, free: 9.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3395, allocations: 38.61 kB / 416.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/0.3445, allocations: 3.343 MB / 420.2 MB, free: 7.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.345, allocations: 0.8094 MB / 421.1 MB, free: 6.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.3451, allocations: 39.55 kB / 421.1 MB, free: 6.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.3454, allocations: 161.5 kB / 421.2 MB, free: 6.184 MB / 334.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3454, allocations: 1 kB / 421.2 MB, free: 6.184 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04614/0.3915, allocations: 6.566 MB / 427.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.3, allocations: 11.98 kB / 427.8 MB, free: 2.605 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: 14.73686039308086]