Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001008, allocations: 95.38 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.000275, allocations: 8 kB / 360.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2722, allocations: 51.41 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002553/0.2748, allocations: 2.143 MB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.2765, allocations: 1.033 MB / 415.2 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.2768, allocations: 4 kB / 415.2 MB, free: 22.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.277, allocations: 31.72 kB / 415.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.2772, allocations: 66.95 kB / 415.3 MB, free: 22.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.2776, allocations: 67.88 kB / 415.4 MB, free: 22.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.278, allocations: 262.8 kB / 415.7 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.2782, allocations: 78.31 kB / 415.7 MB, free: 22.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.2785, allocations: 99.62 kB / 415.8 MB, free: 22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.2787, allocations: 103.4 kB / 415.9 MB, free: 21.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.2788, allocations: 16 kB / 415.9 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.2789, allocations: 27.98 kB / 416 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.2789, allocations: 43.83 kB / 416 MB, free: 21.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.2791, allocations: 137 kB / 416.1 MB, free: 21.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.2793, allocations: 268.5 kB / 416.4 MB, free: 21.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2794, allocations: 0 / 416.4 MB, free: 21.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2794, allocations: 0 / 416.4 MB, free: 21.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.2794, allocations: 0 / 416.4 MB, free: 21.41 MB / 298.7 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.0007544/0.2801, allocations: 0.4952 MB / 416.9 MB, free: 20.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.2802, allocations: 12.03 kB / 416.9 MB, free: 20.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.2804, allocations: 40.55 kB / 417 MB, free: 20.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.2807, allocations: 232 kB / 417.2 MB, free: 20.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.2807, allocations: 16.81 kB / 417.2 MB, free: 20.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.2808, allocations: 20.38 kB / 417.2 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.2811, allocations: 195.6 kB / 417.4 MB, free: 20.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2811, allocations: 3.938 kB / 417.4 MB, free: 20.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.2812, allocations: 11.98 kB / 417.4 MB, free: 20.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2812, allocations: 4 kB / 417.4 MB, free: 20.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.2815, allocations: 153.7 kB / 417.6 MB, free: 20.15 MB / 298.7 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.001254/0.2827, allocations: 0.9336 MB / 418.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.283, allocations: 150.5 kB / 418.7 MB, free: 18.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.2832, allocations: 105.2 kB / 418.8 MB, free: 18.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2833, allocations: 3.984 kB / 418.8 MB, free: 18.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.2833, allocations: 38.47 kB / 418.8 MB, free: 18.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.2833, allocations: 0 / 418.8 MB, free: 18.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001155/0.2845, allocations: 424.4 kB / 419.2 MB, free: 18.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.2845, allocations: 55.41 kB / 419.3 MB, free: 18.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.2846, allocations: 173.9 kB / 419.4 MB, free: 18.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.2846, allocations: 29.7 kB / 419.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.2847, allocations: 152 kB / 419.6 MB, free: 17.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.2847, allocations: 55.17 kB / 419.7 MB, free: 17.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.2848, allocations: 4 kB / 419.7 MB, free: 17.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.559e-05/0.2848, allocations: 334.8 kB / 420 MB, free: 17.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.2849, allocations: 51.92 kB / 420.1 MB, free: 17.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.2851, allocations: 72.31 kB / 420.1 MB, free: 17.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.2853, allocations: 139 kB / 420.3 MB, free: 17.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2853, allocations: 0 / 420.3 MB, free: 17.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004198/0.2857, allocations: 233 kB / 420.5 MB, free: 17.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2858, allocations: 7.938 kB / 420.5 MB, free: 17.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2858, allocations: 0 / 420.5 MB, free: 17.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.287, allocations: 224.6 kB / 420.7 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.2872, allocations: 39.92 kB / 420.8 MB, free: 16.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004185/0.2876, allocations: 0.6109 MB / 421.4 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.2878, allocations: 19.86 kB / 421.4 MB, free: 16.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.2878, allocations: 8 kB / 421.4 MB, free: 16.09 MB / 298.7 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.0001262/0.2879, allocations: 138.3 kB / 421.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.288, allocations: 15.81 kB / 421.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.2884, allocations: 236.3 kB / 421.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2884, allocations: 7.984 kB / 421.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2884, allocations: 0 / 421.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2884, allocations: 0 / 421.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007565/0.2892, allocations: 0.6018 MB / 422.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2892, allocations: 0 / 422.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.2894, allocations: 35.97 kB / 422.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.2904, allocations: 208.7 kB / 422.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.2904, allocations: 4 kB / 422.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003174/0.2908, allocations: 0.6225 MB / 423.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.2908, allocations: 4.031 kB / 423.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007323/0.2915, allocations: 436.7 kB / 423.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.2916, allocations: 92.86 kB / 423.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.2916, allocations: 4 kB / 423.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.2918, allocations: 16.05 kB / 423.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.2918, allocations: 11.98 kB / 423.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.2918, allocations: 8 kB / 423.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.607e-05/0.2919, allocations: 130.7 kB / 423.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2919, allocations: 3.938 kB / 423.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.2922, allocations: 55.94 kB / 424 MB, free: 13.34 MB / 298.7 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.0001635/0.2924, allocations: 123.2 kB / 424.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.2928, allocations: 145.4 kB / 424.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2928, allocations: 0 / 424.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.293, allocations: 87.89 kB / 424.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.2933, allocations: 32.05 kB / 424.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.2944, allocations: 0.6911 MB / 425.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.2946, allocations: 0.7402 MB / 425.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.458e-05/0.2946, allocations: 13.55 kB / 425.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.2947, allocations: 11.44 kB / 425.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of SimCode: time 1.233e-06/0.2947, allocations: 4 kB / 425.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of Templates: time 0.005646/0.3003, allocations: 2.37 MB / 428.2 MB, free: 9.086 MB / 298.7 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches