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.001697/0.001697, allocations: 115.6 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 204.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2635, allocations: 50.55 MB / 409.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004684/0.2683, allocations: 2.528 MB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.2701, allocations: 0.6933 MB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.2704, allocations: 4 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.2707, allocations: 31.64 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.271, allocations: 71.34 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.2715, allocations: 95.77 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005029/0.272, allocations: 286.7 kB / 413.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.2722, allocations: 88.34 kB / 413.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.2726, allocations: 115.6 kB / 413.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.2728, allocations: 119.5 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.2729, allocations: 20 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.273, allocations: 43.92 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.2731, allocations: 55.83 kB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.2733, allocations: 123.3 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.2737, allocations: 288.2 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2737, allocations: 0 / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2738, allocations: 0 / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.2738, allocations: 0 / 414.5 MB, free: 13 MB / 334.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.001118/0.2749, allocations: 0.5379 MB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.275, allocations: 8.031 kB / 415 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.2752, allocations: 36.64 kB / 415.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.2757, allocations: 243.9 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.2757, allocations: 16.81 kB / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.2758, allocations: 16.38 kB / 415.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.2762, allocations: 199.6 kB / 415.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2763, allocations: 0 / 415.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.2763, allocations: 8 kB / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.2763, allocations: 7.938 kB / 415.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.2767, allocations: 149.7 kB / 415.7 MB, free: 11.7 MB / 334.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.001766/0.2785, allocations: 0.9334 MB / 416.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.2789, allocations: 153.6 kB / 416.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.2792, allocations: 100.8 kB / 416.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.2792, allocations: 7.984 kB / 416.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.2793, allocations: 42.55 kB / 416.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/0.2793, allocations: 0 / 416.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001531/0.2808, allocations: 411.4 kB / 417.3 MB, free: 9.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.2809, allocations: 55.41 kB / 417.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.2811, allocations: 180.9 kB / 417.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.2812, allocations: 33.7 kB / 417.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.2813, allocations: 148.1 kB / 417.7 MB, free: 9.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.2814, allocations: 55.11 kB / 417.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.2815, allocations: 37.7 kB / 417.8 MB, free: 9.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2816, allocations: 334.8 kB / 418.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.2818, allocations: 47.98 kB / 418.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.2819, allocations: 76.69 kB / 418.3 MB, free: 8.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.2823, allocations: 132 kB / 418.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2823, allocations: 0 / 418.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005096/0.2828, allocations: 214.2 kB / 418.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.2828, allocations: 8 kB / 418.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2829, allocations: 3.938 kB / 418.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/0.2844, allocations: 228.5 kB / 418.8 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.2846, allocations: 31.98 kB / 418.9 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005768/0.2852, allocations: 0.603 MB / 419.5 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2854, allocations: 16 kB / 419.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.2854, allocations: 11.98 kB / 419.5 MB, free: 7.629 MB / 334.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.0001507/0.2856, allocations: 133.7 kB / 419.6 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.2856, allocations: 15.81 kB / 419.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005504/0.2862, allocations: 230.4 kB / 419.9 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.2862, allocations: 4 kB / 419.9 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2862, allocations: 4 kB / 419.9 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2862, allocations: 3.984 kB / 419.9 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.2873, allocations: 0.5935 MB / 420.5 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.2873, allocations: 4 kB / 420.5 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.2875, allocations: 31.86 kB / 420.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.2888, allocations: 208.7 kB / 420.7 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.2888, allocations: 0 / 420.7 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005474/0.2894, allocations: 0.6225 MB / 421.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2894, allocations: 0 / 421.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009751/0.2904, allocations: 430.7 kB / 421.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/0.2905, allocations: 100.8 kB / 421.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.2905, allocations: 0 / 421.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.2907, allocations: 8 kB / 421.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.2908, allocations: 24.02 kB / 421.9 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.2908, allocations: 8 kB / 421.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.2909, allocations: 128.1 kB / 422 MB, free: 4.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2909, allocations: 0 / 422 MB, free: 4.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004305/0.2914, allocations: 59.84 kB / 422.1 MB, free: 4.898 MB / 334.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.0001966/0.2916, allocations: 107.2 kB / 422.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004666/0.2921, allocations: 150.6 kB / 422.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2921, allocations: 3.938 kB / 422.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.2923, allocations: 91.89 kB / 422.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.2928, allocations: 31.92 kB / 422.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.2941, allocations: 0.5618 MB / 423 MB, free: 3.914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.2945, allocations: 0.74 MB / 423.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.2946, allocations: 15.44 kB / 423.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2946, allocations: 0 / 423.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of Templates: time 0.006522/0.3011, allocations: 3.186 MB / 427 MB, free: 15.95 MB / 350.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