Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_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.001262/0.001262, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001318/0.001318, allocations: 187 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 56.2 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1083, allocations: 46.62 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004055/0.1124, allocations: 2.462 MB / 377.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1136, allocations: 0.6747 MB / 377.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1137, allocations: 4 kB / 377.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.1139, allocations: 31.64 kB / 377.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.1141, allocations: 75.34 kB / 377.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.1144, allocations: 83.77 kB / 378 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.1147, allocations: 274.7 kB / 378.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.1149, allocations: 84.34 kB / 378.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1151, allocations: 111.6 kB / 378.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.1153, allocations: 119.5 kB / 378.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.1153, allocations: 24 kB / 378.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.744e-05/0.1154, allocations: 35.98 kB / 378.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.1155, allocations: 55.72 kB / 378.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.1156, allocations: 115.5 kB / 378.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.116, allocations: 278.9 kB / 379.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.116, allocations: 8 kB / 379.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.116, allocations: 0 / 379.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.116, allocations: 0 / 379.1 MB, free: 0.6289 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.000899/0.1169, allocations: 0.5299 MB / 379.6 MB, free: 52 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.117, allocations: 8.031 kB / 379.6 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2096/0.3266, allocations: 56.66 kB / 379.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.3268, allocations: 27.83 kB / 379.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.3273, allocations: 238.8 kB / 379.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.3273, allocations: 16.84 kB / 379.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.3274, allocations: 17.69 kB / 379.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.3278, allocations: 190.1 kB / 380.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.3278, allocations: 5.828 kB / 380.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.3279, allocations: 7.938 kB / 380.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3279, allocations: 5.5 kB / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003432/0.3282, allocations: 156.1 kB / 380.3 MB, free: 12.8 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.001489/0.3297, allocations: 0.9285 MB / 381.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.3301, allocations: 150.6 kB / 381.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.3303, allocations: 97.36 kB / 381.5 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.3303, allocations: 2.844 kB / 381.5 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3304, allocations: 39.16 kB / 381.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.595e-06/0.3304, allocations: 0 / 381.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001337/0.3317, allocations: 417.1 kB / 381.9 MB, free: 12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.3318, allocations: 54.72 kB / 382 MB, free: 11.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.332, allocations: 174.3 kB / 382.1 MB, free: 11.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.332, allocations: 28.83 kB / 382.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.3321, allocations: 148.4 kB / 382.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.3322, allocations: 61.7 kB / 382.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.438e-05/0.3323, allocations: 40.31 kB / 382.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3324, allocations: 328.5 kB / 382.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.3326, allocations: 51.92 kB / 382.8 MB, free: 11.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.3328, allocations: 72.41 kB / 382.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.333, allocations: 126.1 kB / 383 MB, free: 11.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3331, allocations: 0.5312 kB / 383 MB, free: 11.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005712/0.3336, allocations: 223 kB / 383.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.3337, allocations: 8.469 kB / 383.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3337, allocations: 2.188 kB / 383.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.3353, allocations: 223.8 kB / 383.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.3355, allocations: 30.03 kB / 383.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005068/0.336, allocations: 0.6064 MB / 384.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.3362, allocations: 17.95 kB / 384.1 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.3362, allocations: 8.031 kB / 384.1 MB, free: 10.47 MB / 318.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.0001308/0.3363, allocations: 139.8 kB / 384.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.3364, allocations: 17.31 kB / 384.2 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005142/0.3369, allocations: 228 kB / 384.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.3369, allocations: 3.797 kB / 384.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3369, allocations: 4.094 kB / 384.5 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3369, allocations: 3.656 kB / 384.5 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009416/0.3379, allocations: 0.5904 MB / 385.1 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3379, allocations: 1.188 kB / 385.1 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.3381, allocations: 25.89 kB / 385.1 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.3392, allocations: 210.7 kB / 385.3 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3392, allocations: 5.219 kB / 385.3 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003951/0.3396, allocations: 0.6224 MB / 385.9 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3397, allocations: 1.438 kB / 385.9 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.3405, allocations: 425.4 kB / 386.3 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.3406, allocations: 98.77 kB / 386.4 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.3406, allocations: 10.95 kB / 386.5 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.3407, allocations: 10.64 kB / 386.5 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.3408, allocations: 14.19 kB / 386.5 MB, free: 8.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3408, allocations: 3.531 kB / 386.5 MB, free: 8.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.341, allocations: 133.5 kB / 386.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.341, allocations: 0 / 386.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.3413, allocations: 60.23 kB / 386.7 MB, free: 8.684 MB / 318.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.001169/0.3425, allocations: 0.9678 MB / 387.6 MB, free: 7.898 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004976/0.343, allocations: 155.8 kB / 387.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.343, allocations: 0 / 387.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.3433, allocations: 86.86 kB / 387.9 MB, free: 7.824 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.3437, allocations: 32.03 kB / 387.9 MB, free: 7.809 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.3467, allocations: 2.29 MB / 390.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.347, allocations: 0.7416 MB / 390.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.587e-05/0.3471, allocations: 10.11 kB / 390.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.095e-05/0.3472, allocations: 59.66 kB / 391 MB, free: 5.371 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3472, allocations: 2.297 kB / 391 MB, free: 5.371 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03552/0.3827, allocations: 4.726 MB / 395.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.32, allocations: 9.125 kB / 395.7 MB, free: 4.531 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches