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.0009144/0.0009145, allocations: 93.58 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 203.1 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002396/0.0002396, allocations: 8 kB / 308.4 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.08938, allocations: 51.52 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002361/0.09178, allocations: 2.225 MB / 362.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.09285, allocations: 0.6935 MB / 362.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.144e-05/0.09295, allocations: 4 kB / 362.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.09307, allocations: 31.77 kB / 362.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.09319, allocations: 55.53 kB / 362.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.09344, allocations: 83.8 kB / 363 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.0937, allocations: 270.7 kB / 363.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.09386, allocations: 76.77 kB / 363.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.09403, allocations: 87.66 kB / 363.4 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.09418, allocations: 111.5 kB / 363.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.09421, allocations: 12 kB / 363.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.0943, allocations: 28 kB / 363.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.09434, allocations: 39.83 kB / 363.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.09445, allocations: 133.1 kB / 363.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.09465, allocations: 211.7 kB / 363.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.09466, allocations: 0 / 363.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09467, allocations: 4 kB / 363.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.09468, allocations: 0 / 363.9 MB, free: 9.203 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.000675/0.09536, allocations: 0.499 MB / 364.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.0954, allocations: 15.97 kB / 364.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.09556, allocations: 36.64 kB / 364.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.0958, allocations: 243.8 kB / 364.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.09583, allocations: 12.81 kB / 364.7 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.09588, allocations: 24.38 kB / 364.8 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.09622, allocations: 195.6 kB / 365 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.09624, allocations: 0 / 365 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.09627, allocations: 8 kB / 365 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.09628, allocations: 4 kB / 365 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.09659, allocations: 153.7 kB / 365.1 MB, free: 7.93 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.001262/0.09786, allocations: 0.9453 MB / 366.1 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.09815, allocations: 150.6 kB / 366.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.09835, allocations: 104.8 kB / 366.3 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.09838, allocations: 4 kB / 366.3 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.09841, allocations: 38.48 kB / 366.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.09842, allocations: 0 / 366.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001174/0.0996, allocations: 434 kB / 366.8 MB, free: 6.113 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.09964, allocations: 51.41 kB / 366.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.0998, allocations: 184.2 kB / 367 MB, free: 5.859 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.09983, allocations: 33.7 kB / 367 MB, free: 5.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.09991, allocations: 140.2 kB / 367.2 MB, free: 5.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.09996, allocations: 59.11 kB / 367.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.1, allocations: 21.7 kB / 367.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.1001, allocations: 330.8 kB / 367.6 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.1002, allocations: 55.91 kB / 367.6 MB, free: 5.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.1003, allocations: 73.69 kB / 367.7 MB, free: 5.129 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.1006, allocations: 136 kB / 367.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1006, allocations: 0 / 367.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003897/0.101, allocations: 222.2 kB / 368.1 MB, free: 4.766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.101, allocations: 4 kB / 368.1 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.101, allocations: 4 kB / 368.1 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.1023, allocations: 228.6 kB / 368.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.1025, allocations: 35.91 kB / 368.3 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004623/0.1029, allocations: 0.6108 MB / 368.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.1031, allocations: 19.88 kB / 369 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.1031, allocations: 4 kB / 369 MB, free: 3.836 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.0001254/0.1032, allocations: 137.7 kB / 369.1 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.1033, allocations: 19.81 kB / 369.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004402/0.1037, allocations: 234.5 kB / 369.3 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1037, allocations: 0 / 369.3 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1037, allocations: 0 / 369.3 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1037, allocations: 3.984 kB / 369.3 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008459/0.1046, allocations: 0.6013 MB / 369.9 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1046, allocations: 0 / 369.9 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.1048, allocations: 35.92 kB / 370 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.1058, allocations: 216.6 kB / 370.2 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1059, allocations: 19.91 kB / 370.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004236/0.1063, allocations: 0.6225 MB / 370.8 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1063, allocations: 0 / 370.8 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007686/0.1071, allocations: 428.9 kB / 371.3 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.1071, allocations: 92.89 kB / 371.3 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.1072, allocations: 8 kB / 371.4 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.1073, allocations: 12.05 kB / 371.4 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.1074, allocations: 19.92 kB / 371.4 MB, free: 1.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.1074, allocations: 4 kB / 371.4 MB, free: 1.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.698e-05/0.1075, allocations: 133.2 kB / 371.5 MB, free: 1.125 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1075, allocations: 0 / 371.5 MB, free: 1.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.1078, allocations: 59.75 kB / 371.6 MB, free: 1.066 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.0001562/0.108, allocations: 103.2 kB / 371.7 MB, free: 0.957 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003699/0.1083, allocations: 154.7 kB / 371.8 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1084, allocations: 0 / 371.8 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.1086, allocations: 83.91 kB / 371.9 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1089, allocations: 42.91 kB / 372 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1461/0.255, allocations: 0.7234 MB / 372.7 MB, free: 19.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.2553, allocations: 0.7372 MB / 373.4 MB, free: 18.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.2554, allocations: 15.25 kB / 373.4 MB, free: 18.83 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2554, allocations: 0 / 373.4 MB, free: 18.83 MB / 302.1 MB Notification: Performance of Templates: time 0.005982/0.2614, allocations: 3.098 MB / 376.5 MB, free: 18.71 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/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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches