Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 113.9 kB / 17.07 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002404/0.002404, allocations: 197.3 kB / 18 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001472, allocations: 43.92 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2932, allocations: 49.45 MB / 400.3 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004247/0.2975, allocations: 2.505 MB / 402.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2988, allocations: 0.6543 MB / 403.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.299, allocations: 4 kB / 403.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.2992, allocations: 39.64 kB / 403.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.2994, allocations: 71.33 kB / 403.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.2997, allocations: 83.83 kB / 403.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.3, allocations: 282.6 kB / 403.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.3003, allocations: 84.36 kB / 404 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.3004, allocations: 107.6 kB / 404.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.3006, allocations: 123.4 kB / 404.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.3007, allocations: 24 kB / 404.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3008, allocations: 35.98 kB / 404.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.3009, allocations: 55.77 kB / 404.3 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.301, allocations: 119.4 kB / 404.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.3014, allocations: 285.9 kB / 404.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3014, allocations: 0 / 404.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3014, allocations: 0 / 404.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3014, allocations: 0 / 404.7 MB, free: 4.324 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008693/0.3023, allocations: 0.5338 MB / 405.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3023, allocations: 8.031 kB / 405.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.739e-05/0.3024, allocations: 62.67 kB / 405.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.3025, allocations: 24.8 kB / 405.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.3028, allocations: 244 kB / 405.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.3028, allocations: 20.81 kB / 405.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.3029, allocations: 20.38 kB / 405.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.3033, allocations: 191.3 kB / 405.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3033, allocations: 0 / 405.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.3033, allocations: 15.98 kB / 405.8 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3033, allocations: 4 kB / 405.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.3037, allocations: 149.7 kB / 406 MB, free: 2.961 MB / 318.1 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 preOpt removeSimpleEquations (simulation): time 0.001411/0.3051, allocations: 0.9298 MB / 406.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.3054, allocations: 150.5 kB / 407 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.3056, allocations: 103.6 kB / 407.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.3057, allocations: 0 / 407.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3057, allocations: 38.56 kB / 407.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.3057, allocations: 0 / 407.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001301/0.307, allocations: 423.4 kB / 407.6 MB, free: 1.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.3071, allocations: 55.41 kB / 407.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3072, allocations: 179.2 kB / 407.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.3073, allocations: 29.7 kB / 407.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.3074, allocations: 148.3 kB / 408 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.3074, allocations: 63.44 kB / 408 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.625e-05/0.3075, allocations: 37.7 kB / 408.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3077, allocations: 330.8 kB / 408.4 MB, free: 308 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.3078, allocations: 55.97 kB / 408.5 MB, free: 252 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.3079, allocations: 71.12 kB / 408.5 MB, free: 176 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.3082, allocations: 121.7 kB / 408.7 MB, free: 48 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3082, allocations: 3.938 kB / 408.7 MB, free: 44 kB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004373/0.3086, allocations: 229.1 kB / 408.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3087, allocations: 4 kB / 408.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3087, allocations: 3.938 kB / 408.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.31, allocations: 212.6 kB / 409.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.3102, allocations: 39.84 kB / 409.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005537/0.3108, allocations: 0.6148 MB / 409.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.3109, allocations: 15.92 kB / 409.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.3109, allocations: 4 kB / 409.8 MB, free: 14.89 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.3111, allocations: 133.7 kB / 409.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.3111, allocations: 15.91 kB / 409.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004763/0.3116, allocations: 232.3 kB / 410.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3116, allocations: 0 / 410.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3116, allocations: 0 / 410.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3116, allocations: 4 kB / 410.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009187/0.3125, allocations: 0.5958 MB / 410.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.3126, allocations: 7.922 kB / 410.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.3127, allocations: 32.02 kB / 410.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.3138, allocations: 200.6 kB / 411 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.3138, allocations: 4 kB / 411 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005388/0.3144, allocations: 0.6225 MB / 411.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.3144, allocations: 4.031 kB / 411.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008387/0.3153, allocations: 424.9 kB / 412 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.3154, allocations: 104.9 kB / 412.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.3154, allocations: 4.062 kB / 412.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3155, allocations: 12 kB / 412.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.3156, allocations: 7.984 kB / 412.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3156, allocations: 8 kB / 412.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.3157, allocations: 132.3 kB / 412.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3157, allocations: 96 / 412.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.316, allocations: 59.83 kB / 412.3 MB, free: 12.16 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.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 (10): * Single equations (assignments): 9 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001215/0.3173, allocations: 0.972 MB / 413.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004058/0.3177, allocations: 147.8 kB / 413.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3177, allocations: 0 / 413.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.3179, allocations: 95.72 kB / 413.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.3183, allocations: 31.98 kB / 413.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.3214, allocations: 2.326 MB / 415.9 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.3218, allocations: 0.7436 MB / 416.7 MB, free: 7.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.223e-05/0.3219, allocations: 5.562 kB / 416.7 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-05/0.322, allocations: 63.41 kB / 416.7 MB, free: 7.637 MB / 334.1 MB Notification: Performance of SimCode: time 4.3e-07/0.322, allocations: 0 / 416.7 MB, free: 7.637 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.3527, allocations: 4.76 MB / 421.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.99, allocations: 8 kB / 421.5 MB, free: 3.023 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches