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.001213/0.001213, allocations: 102.9 kB / 17.16 MB, free: 6.316 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.001218/0.001218, allocations: 190 kB / 18.07 MB, free: 5.414 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.319/1.319, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.00111/0.00111, allocations: 51.92 kB / 280.1 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07971/0.08083, allocations: 46.62 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00322/0.08409, allocations: 2.512 MB / 329.2 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.08513, allocations: 0.6673 MB / 329.9 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.97e-05/0.08525, allocations: 4 kB / 329.9 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.08541, allocations: 23.83 kB / 329.9 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.08553, allocations: 67.47 kB / 330 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.08578, allocations: 67.86 kB / 330 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.08601, allocations: 254.9 kB / 330.3 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.08618, allocations: 76.78 kB / 330.4 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.08633, allocations: 107.5 kB / 330.5 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.08647, allocations: 103.5 kB / 330.6 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.08651, allocations: 16 kB / 330.6 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.45e-05/0.0866, allocations: 24 kB / 330.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.08665, allocations: 51.81 kB / 330.7 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.737e-05/0.08675, allocations: 111.4 kB / 330.8 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.087, allocations: 267.3 kB / 331 MB, free: 440 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.08701, allocations: 0 / 331 MB, free: 440 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.08702, allocations: 7.938 kB / 331 MB, free: 432 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.08703, allocations: 0 / 331 MB, free: 432 kB / 270.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.0007688/0.0878, allocations: 0.5264 MB / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.08785, allocations: 8.031 kB / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.08791, allocations: 62.61 kB / 331.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.08797, allocations: 32.56 kB / 331.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.08819, allocations: 236.6 kB / 331.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.08821, allocations: 12.81 kB / 331.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.08825, allocations: 24.12 kB / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.08859, allocations: 187.3 kB / 332.1 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.08861, allocations: 3.984 kB / 332.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.08864, allocations: 8 kB / 332.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.08865, allocations: 4 kB / 332.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.08896, allocations: 157.6 kB / 332.3 MB, free: 15.07 MB / 286.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.001203/0.09017, allocations: 0.9297 MB / 333.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.09047, allocations: 150.5 kB / 333.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.09067, allocations: 104.8 kB / 333.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.0907, allocations: 4 kB / 333.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.09073, allocations: 34.56 kB / 333.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.09073, allocations: 0 / 333.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001197/0.09194, allocations: 422.5 kB / 333.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.09198, allocations: 55.41 kB / 334 MB, free: 13.22 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.09212, allocations: 167.1 kB / 334.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.09215, allocations: 29.7 kB / 334.2 MB, free: 13.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/0.09224, allocations: 152 kB / 334.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.09228, allocations: 59.19 kB / 334.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/0.09235, allocations: 37.7 kB / 334.4 MB, free: 12.76 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.09245, allocations: 322.8 kB / 334.7 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.09257, allocations: 55.97 kB / 334.8 MB, free: 12.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.0927, allocations: 69.69 kB / 334.8 MB, free: 12.31 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.09294, allocations: 137.5 kB / 335 MB, free: 12.17 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.09295, allocations: 0 / 335 MB, free: 12.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003758/0.09333, allocations: 218.2 kB / 335.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.09336, allocations: 11.94 kB / 335.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.09337, allocations: 0 / 335.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.09472, allocations: 212.6 kB / 335.4 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.09487, allocations: 35.92 kB / 335.4 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004417/0.09532, allocations: 0.6109 MB / 336 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.09546, allocations: 11.94 kB / 336.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.09548, allocations: 11.98 kB / 336.1 MB, free: 11.03 MB / 286.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.0001144/0.09561, allocations: 137.7 kB / 336.2 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.09565, allocations: 15.81 kB / 336.2 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/0.09608, allocations: 224.3 kB / 336.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.0961, allocations: 4 kB / 336.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.09611, allocations: 0 / 336.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.09612, allocations: 3.984 kB / 336.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007782/0.09691, allocations: 0.5896 MB / 337 MB, free: 9.977 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.09693, allocations: 11.98 kB / 337 MB, free: 9.965 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.09707, allocations: 27.92 kB / 337.1 MB, free: 9.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.09817, allocations: 208.6 kB / 337.3 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.0982, allocations: 11.98 kB / 337.3 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004113/0.09861, allocations: 0.6226 MB / 337.9 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.09863, allocations: 0 / 337.9 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007744/0.09941, allocations: 425.1 kB / 338.3 MB, free: 8.633 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.09947, allocations: 96.83 kB / 338.4 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.09951, allocations: 7.984 kB / 338.4 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.09966, allocations: 8 kB / 338.4 MB, free: 8.504 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.09971, allocations: 11.98 kB / 338.4 MB, free: 8.492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.09973, allocations: 4 kB / 338.5 MB, free: 8.488 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.714e-05/0.09982, allocations: 135.5 kB / 338.6 MB, free: 8.355 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09983, allocations: 0 / 338.6 MB, free: 8.355 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.1001, allocations: 59.91 kB / 338.6 MB, free: 8.297 MB / 286.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.001027/0.1012, allocations: 0.9598 MB / 339.6 MB, free: 7.305 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.1015, allocations: 143.9 kB / 339.7 MB, free: 7.164 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1015, allocations: 4 kB / 339.7 MB, free: 7.16 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.1017, allocations: 95.77 kB / 339.8 MB, free: 7.066 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.1021, allocations: 32.22 kB / 339.9 MB, free: 7.035 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.1047, allocations: 2.373 MB / 342.2 MB, free: 4.57 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.105, allocations: 0.7397 MB / 343 MB, free: 3.805 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.1051, allocations: 17.66 kB / 343 MB, free: 3.789 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.1051, allocations: 59.36 kB / 343.1 MB, free: 3.734 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1051, allocations: 0 / 343.1 MB, free: 3.734 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.734/4.839, allocations: 4.339 MB / 347.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/4.839, allocations: 240.9 kB / 347.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/6.797, allocations: 0 / 347.6 MB, free: 15.09 MB / 302.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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches