Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 99.02 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00175/0.001749, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002438/0.0002439, allocations: 8 kB / 307.1 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1061, allocations: 51.52 MB / 358.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002469/0.1086, allocations: 2.139 MB / 360.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1096, allocations: 0.6587 MB / 361.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1097, allocations: 7.938 kB / 361.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.1099, allocations: 27.77 kB / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.11, allocations: 63.48 kB / 361.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1103, allocations: 71.84 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.1105, allocations: 254.8 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.1107, allocations: 80.31 kB / 361.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1109, allocations: 91.64 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.111, allocations: 103.5 kB / 362.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.1111, allocations: 12 kB / 362.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.958e-05/0.1112, allocations: 28 kB / 362.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.1112, allocations: 43.81 kB / 362.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.1113, allocations: 65.58 kB / 362.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.1115, allocations: 203.7 kB / 362.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1115, allocations: 4 kB / 362.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1115, allocations: 3.938 kB / 362.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1115, allocations: 4 kB / 362.5 MB, free: 9.578 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.0007106/0.1122, allocations: 0.4949 MB / 363 MB, free: 9.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1123, allocations: 8.031 kB / 363 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.1125, allocations: 43.7 kB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.1127, allocations: 226.8 kB / 363.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1127, allocations: 12.44 kB / 363.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.1128, allocations: 23.98 kB / 363.3 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.1131, allocations: 195.2 kB / 363.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1132, allocations: 0 / 363.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.1132, allocations: 8 kB / 363.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1132, allocations: 8 kB / 363.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.1135, allocations: 153.7 kB / 363.6 MB, free: 8.32 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.001289/0.1148, allocations: 0.9413 MB / 364.6 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.1151, allocations: 158.6 kB / 364.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.1153, allocations: 92.83 kB / 364.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1153, allocations: 4 kB / 364.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.1154, allocations: 34.56 kB / 364.9 MB, free: 6.965 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.1154, allocations: 4 kB / 364.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0012/0.1166, allocations: 427.4 kB / 365.3 MB, free: 6.516 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.1167, allocations: 55.41 kB / 365.3 MB, free: 6.449 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.1168, allocations: 180.3 kB / 365.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1168, allocations: 25.7 kB / 365.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.1169, allocations: 156.1 kB / 365.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.117, allocations: 67.08 kB / 365.7 MB, free: 6.008 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.117, allocations: 3.938 kB / 365.8 MB, free: 6.004 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1171, allocations: 326.8 kB / 366.1 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1173, allocations: 56.28 kB / 366.1 MB, free: 5.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1174, allocations: 70.44 kB / 366.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.1175, allocations: 62.52 kB / 366.3 MB, free: 5.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1175, allocations: 3.953 kB / 366.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004578/0.118, allocations: 234.2 kB / 366.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.118, allocations: 4 kB / 366.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.118, allocations: 4.031 kB / 366.5 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.1193, allocations: 224.6 kB / 366.7 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1195, allocations: 31.92 kB / 366.7 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005045/0.12, allocations: 0.6147 MB / 367.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.1201, allocations: 19.88 kB / 367.4 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.1201, allocations: 4 kB / 367.4 MB, free: 4.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.1202, allocations: 125.8 kB / 367.5 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.1203, allocations: 15.81 kB / 367.5 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.1208, allocations: 240.3 kB / 367.8 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1208, allocations: 4 kB / 367.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1208, allocations: 0 / 367.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1208, allocations: 0 / 367.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008442/0.1216, allocations: 0.6079 MB / 368.4 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1217, allocations: 3.984 kB / 368.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.1218, allocations: 27.97 kB / 368.4 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009903/0.1228, allocations: 212.7 kB / 368.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.1228, allocations: 4 kB / 368.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004401/0.1233, allocations: 0.6225 MB / 369.2 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.1233, allocations: 0 / 369.2 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000778/0.1241, allocations: 435.6 kB / 369.7 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.1242, allocations: 96.89 kB / 369.8 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.1242, allocations: 4.156 kB / 369.8 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.1243, allocations: 27.88 kB / 369.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.1244, allocations: 7.984 kB / 369.8 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.1244, allocations: 8 kB / 369.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.351e-05/0.1245, allocations: 132.1 kB / 369.9 MB, free: 1.625 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1245, allocations: 0 / 369.9 MB, free: 1.625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.1248, allocations: 59.84 kB / 370 MB, free: 1.566 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001631/0.125, allocations: 111.2 kB / 370.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003657/0.1254, allocations: 147.8 kB / 370.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.1254, allocations: 4 kB / 370.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.1256, allocations: 84.02 kB / 370.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1259, allocations: 36.06 kB / 370.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1269, allocations: 0.6823 MB / 371 MB, free: 484 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1803/0.3072, allocations: 0.7336 MB / 371.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.3074, allocations: 12.95 kB / 371.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.3074, allocations: 13.81 kB / 371.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3075, allocations: 1.562 kB / 371.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of Templates: time 0.007337/0.3148, allocations: 2.305 MB / 374.1 MB, free: 18.75 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches