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: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 104.4 kB / 18.35 MB, free: 4.645 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.001334/0.001334, allocations: 191 kB / 19.29 MB, free: 3.715 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.352/1.352, allocations: 205.1 MB / 225.2 MB, free: 12.29 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.001276/0.001276, allocations: 55.92 kB / 282.1 MB, free: 2.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08333/0.08461, allocations: 46.63 MB / 328.7 MB, free: 3.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004288/0.08896, allocations: 2.473 MB / 331.2 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.09023, allocations: 0.6711 MB / 331.9 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.09038, allocations: 4 kB / 331.9 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.09057, allocations: 35.64 kB / 331.9 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.09076, allocations: 71.34 kB / 332 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.09108, allocations: 71.84 kB / 332.1 MB, free: 452 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.0914, allocations: 282.8 kB / 332.3 MB, free: 168 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.09162, allocations: 76.38 kB / 332.4 MB, free: 92 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.09182, allocations: 111.5 kB / 332.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.09201, allocations: 111.5 kB / 332.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.09206, allocations: 24 kB / 332.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.09217, allocations: 39.98 kB / 332.7 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.09224, allocations: 51.83 kB / 332.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.09236, allocations: 131.3 kB / 332.9 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.09269, allocations: 271 kB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.0927, allocations: 4 kB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09271, allocations: 0 / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.09273, allocations: 0 / 333.1 MB, free: 15.36 MB / 286.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.0008477/0.09358, allocations: 0.5263 MB / 333.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.09363, allocations: 12.03 kB / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.0937, allocations: 28.66 kB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.09407, allocations: 236.6 kB / 333.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.0941, allocations: 12.81 kB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.09416, allocations: 20.38 kB / 334 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.09458, allocations: 199.1 kB / 334.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.09461, allocations: 0 / 334.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.09464, allocations: 8 kB / 334.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.09466, allocations: 4 kB / 334.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.09499, allocations: 153.7 kB / 334.3 MB, free: 14.08 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.001508/0.09651, allocations: 0.9217 MB / 335.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.09686, allocations: 162.5 kB / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.09709, allocations: 96.83 kB / 335.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.09713, allocations: 0 / 335.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.09717, allocations: 38.5 kB / 335.5 MB, free: 12.74 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.09718, allocations: 4 kB / 335.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001324/0.09851, allocations: 418.5 kB / 335.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.09858, allocations: 59.41 kB / 336 MB, free: 12.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.09877, allocations: 162.4 kB / 336.2 MB, free: 12.06 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.0988, allocations: 33.7 kB / 336.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.09894, allocations: 144.1 kB / 336.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.964e-05/0.099, allocations: 71.08 kB / 336.4 MB, free: 11.81 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.219e-05/0.09908, allocations: 33.7 kB / 336.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.09924, allocations: 330.8 kB / 336.8 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.09937, allocations: 43.98 kB / 336.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.09953, allocations: 69.69 kB / 336.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.09979, allocations: 133.6 kB / 337 MB, free: 11.18 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0998, allocations: 0 / 337 MB, free: 11.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000395/0.1002, allocations: 222.2 kB / 337.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1002, allocations: 11.88 kB / 337.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1002, allocations: 0 / 337.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.1016, allocations: 224.6 kB / 337.4 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.1018, allocations: 27.98 kB / 337.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005565/0.1024, allocations: 0.6147 MB / 338.1 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1025, allocations: 15.89 kB / 338.1 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.1025, allocations: 4 kB / 338.1 MB, free: 10.04 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.000131/0.1027, allocations: 137.8 kB / 338.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.1027, allocations: 15.81 kB / 338.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.1032, allocations: 228.2 kB / 338.5 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1032, allocations: 4 kB / 338.5 MB, free: 9.637 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1032, allocations: 0 / 338.5 MB, free: 9.637 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1032, allocations: 0 / 338.5 MB, free: 9.637 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.1042, allocations: 0.5973 MB / 339.1 MB, free: 8.977 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1043, allocations: 0 / 339.1 MB, free: 8.977 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.1044, allocations: 23.98 kB / 339.1 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/0.1055, allocations: 200.7 kB / 339.3 MB, free: 8.754 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.1055, allocations: 4 kB / 339.3 MB, free: 8.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004978/0.106, allocations: 0.6264 MB / 339.9 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.106, allocations: 0 / 339.9 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008151/0.1068, allocations: 436.7 kB / 340.4 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.1069, allocations: 96.89 kB / 340.5 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.107, allocations: 4 kB / 340.5 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1071, allocations: 11.98 kB / 340.5 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1072, allocations: 7.984 kB / 340.5 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1072, allocations: 8 kB / 340.5 MB, free: 7.504 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1073, allocations: 132.3 kB / 340.6 MB, free: 7.375 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1073, allocations: 0 / 340.6 MB, free: 7.375 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.1076, allocations: 59.84 kB / 340.7 MB, free: 7.316 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.0001755/0.1078, allocations: 111.2 kB / 340.8 MB, free: 7.199 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003829/0.1082, allocations: 143.8 kB / 340.9 MB, free: 7.059 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1082, allocations: 4 kB / 340.9 MB, free: 7.055 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.1084, allocations: 99.8 kB / 341 MB, free: 6.957 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1087, allocations: 32.78 kB / 341.1 MB, free: 6.926 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009567/0.1097, allocations: 0.5366 MB / 341.6 MB, free: 6.359 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.11, allocations: 0.74 MB / 342.3 MB, free: 5.594 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.344e-05/0.11, allocations: 9.547 kB / 342.3 MB, free: 5.586 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.1101, allocations: 15.44 kB / 342.4 MB, free: 5.57 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1101, allocations: 0 / 342.4 MB, free: 5.57 MB / 286.1 MB Notification: Performance of Templates: time 0.005687/0.1158, allocations: 2.534 MB / 344.9 MB, free: 3.043 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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