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: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001504/0.001504, allocations: 102.8 kB / 17.59 MB, free: 5.426 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.001739/0.001739, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.352/1.352, allocations: 222.9 MB / 242.2 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 49.67 kB / 301.3 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09178/0.09294, allocations: 49.44 MB / 350.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004/0.09697, allocations: 2.5 MB / 353.2 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.09823, allocations: 0.6622 MB / 353.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.09844, allocations: 8 kB / 353.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.09866, allocations: 35.64 kB / 353.9 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.09886, allocations: 71.34 kB / 354 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.09924, allocations: 83.77 kB / 354.1 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.09961, allocations: 278.7 kB / 354.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.09982, allocations: 88.83 kB / 354.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.1, allocations: 103.6 kB / 354.5 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.1002, allocations: 123.5 kB / 354.7 MB, free: 484 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.1003, allocations: 20 kB / 354.7 MB, free: 464 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1004, allocations: 39.98 kB / 354.7 MB, free: 424 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.1004, allocations: 47.84 kB / 354.8 MB, free: 376 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1006, allocations: 123.4 kB / 354.9 MB, free: 252 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.1009, allocations: 279.3 kB / 355.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1009, allocations: 0 / 355.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1009, allocations: 0 / 355.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.101, allocations: 0 / 355.2 MB, free: 15.97 MB / 302.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.0008977/0.1019, allocations: 0.5405 MB / 355.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1019, allocations: 8.031 kB / 355.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.832e-05/0.102, allocations: 24.66 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1023, allocations: 239.8 kB / 356 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1023, allocations: 16.8 kB / 356 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.1024, allocations: 24.38 kB / 356 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.1027, allocations: 187.6 kB / 356.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1028, allocations: 0 / 356.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.1028, allocations: 12 kB / 356.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1028, allocations: 8 kB / 356.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.1032, allocations: 149.7 kB / 356.4 MB, free: 14.69 MB / 302.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.001455/0.1046, allocations: 0.9411 MB / 357.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.1049, allocations: 150.6 kB / 357.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.1052, allocations: 96.77 kB / 357.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1052, allocations: 3.984 kB / 357.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1052, allocations: 46.55 kB / 357.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.904e-06/0.1052, allocations: 0 / 357.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001289/0.1065, allocations: 419.4 kB / 358 MB, free: 12.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.1066, allocations: 55.34 kB / 358.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.1068, allocations: 179.2 kB / 358.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.1068, allocations: 29.7 kB / 358.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.1069, allocations: 144.1 kB / 358.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.107, allocations: 59.11 kB / 358.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/0.107, allocations: 41.7 kB / 358.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1072, allocations: 330.8 kB / 358.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1073, allocations: 47.97 kB / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1074, allocations: 72.5 kB / 358.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.1077, allocations: 129.6 kB / 359.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1077, allocations: 0 / 359.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000415/0.1081, allocations: 225.6 kB / 359.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1081, allocations: 4 kB / 359.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1082, allocations: 0 / 359.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.1096, allocations: 232.5 kB / 359.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.1097, allocations: 27.98 kB / 359.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004783/0.1102, allocations: 0.607 MB / 360.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.1104, allocations: 19.81 kB / 360.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.1104, allocations: 7.938 kB / 360.2 MB, free: 10.62 MB / 302.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.0001354/0.1105, allocations: 137.8 kB / 360.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.1106, allocations: 15.81 kB / 360.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.111, allocations: 228.3 kB / 360.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1111, allocations: 0 / 360.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1111, allocations: 0 / 360.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.1111, allocations: 7.984 kB / 360.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008936/0.112, allocations: 0.5922 MB / 361.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.112, allocations: 0 / 361.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.1122, allocations: 31.92 kB / 361.2 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/0.1133, allocations: 208.6 kB / 361.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.1134, allocations: 3.938 kB / 361.4 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005379/0.1139, allocations: 0.6186 MB / 362 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1139, allocations: 32 / 362 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/0.1148, allocations: 432.8 kB / 362.4 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.1149, allocations: 100.8 kB / 362.5 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.115, allocations: 0 / 362.5 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1151, allocations: 12 kB / 362.5 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.1152, allocations: 12.05 kB / 362.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.1152, allocations: 11.98 kB / 362.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1153, allocations: 128.3 kB / 362.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1153, allocations: 0 / 362.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.1157, allocations: 55.84 kB / 362.7 MB, free: 7.906 MB / 302.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.0001901/0.1159, allocations: 115.1 kB / 362.9 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004492/0.1163, allocations: 155.8 kB / 363 MB, free: 7.629 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1163, allocations: 0 / 363 MB, free: 7.629 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.1165, allocations: 87.8 kB / 363.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.117, allocations: 34.5 kB / 363.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1181, allocations: 0.5833 MB / 363.7 MB, free: 6.898 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1184, allocations: 0.74 MB / 364.4 MB, free: 6.133 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.1184, allocations: 19.42 kB / 364.5 MB, free: 6.113 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1185, allocations: 0 / 364.5 MB, free: 6.113 MB / 302.1 MB Notification: Performance of Templates: time 0.005657/0.1241, allocations: 3.101 MB / 367.6 MB, free: 3.008 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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