Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008283/0.0008284, allocations: 100.3 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.366e-05/1.359e-05, allocations: 4 kB / 343.7 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.0889, allocations: 51.47 MB / 395.2 MB, free: 4.695 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2816/0.3705, allocations: 81.89 MB / 477.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.3708, allocations: 80.38 kB / 477.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01505/0.3858, allocations: 6.55 MB / 483.7 MB, free: 5.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3859, allocations: 4 kB / 483.7 MB, free: 5.758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.3859, allocations: 8 kB / 483.7 MB, free: 5.75 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007318/0.3866, allocations: 0.6218 MB / 484.3 MB, free: 5.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3867, allocations: 8.031 kB / 484.3 MB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.3869, allocations: 80.73 kB / 484.4 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.3873, allocations: 335.1 kB / 484.7 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.3873, allocations: 15.98 kB / 484.8 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/0.3874, allocations: 24 kB / 484.8 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00034/0.3877, allocations: 204.8 kB / 485 MB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004235/0.3881, allocations: 324.6 kB / 485.3 MB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3882, allocations: 3.875 kB / 485.3 MB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.3882, allocations: 4 kB / 485.3 MB, free: 4.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3882, allocations: 8 kB / 485.3 MB, free: 4.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.3897, allocations: 1.438 MB / 486.8 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.39, allocations: 225.7 kB / 487 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.3903, allocations: 139.7 kB / 487.1 MB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.3903, allocations: 4.234 kB / 487.1 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.3906, allocations: 200.1 kB / 487.3 MB, free: 2.586 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.3906, allocations: 0 / 487.3 MB, free: 2.586 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005459/0.3911, allocations: 300.9 kB / 487.6 MB, free: 2.348 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.3912, allocations: 110 kB / 487.7 MB, free: 2.219 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.3914, allocations: 246.4 kB / 488 MB, free: 2.016 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.3914, allocations: 25.7 kB / 488 MB, free: 1.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.3915, allocations: 220.5 kB / 488.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.3915, allocations: 89.72 kB / 488.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.3915, allocations: 3.938 kB / 488.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.168e-05/0.3916, allocations: 348.5 kB / 488.6 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.3917, allocations: 68.62 kB / 488.7 MB, free: 1.352 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3919, allocations: 191 kB / 488.9 MB, free: 1.148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.392, allocations: 96 kB / 489 MB, free: 1.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.392, allocations: 0 / 489 MB, free: 1.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004405/0.3924, allocations: 343.6 kB / 489.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3925, allocations: 8 kB / 489.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3925, allocations: 4 kB / 489.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.3927, allocations: 78.31 kB / 489.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.3929, allocations: 55.91 kB / 489.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.3943, allocations: 1.729 MB / 491.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.3946, allocations: 31.73 kB / 491.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.3946, allocations: 15.31 kB / 491.2 MB, free: 15.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.3947, allocations: 116.8 kB / 491.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.3948, allocations: 37.38 kB / 491.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.942e-05/0.3949, allocations: 40.5 kB / 491.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3949, allocations: 4 kB / 491.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.3949, allocations: 0 / 491.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3949, allocations: 7.984 kB / 491.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.3954, allocations: 0.5079 MB / 491.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3954, allocations: 0 / 491.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.3956, allocations: 35.41 kB / 492 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/0.3958, allocations: 77.61 kB / 492 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.3958, allocations: 3.984 kB / 492.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.3973, allocations: 1.725 MB / 493.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3973, allocations: 4 kB / 493.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006961/0.398, allocations: 461.2 kB / 494.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.3982, allocations: 138 kB / 494.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.3982, allocations: 0 / 494.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.3984, allocations: 15.94 kB / 494.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.3985, allocations: 29.59 kB / 494.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.3985, allocations: 15.92 kB / 494.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.3987, allocations: 189.9 kB / 494.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3987, allocations: 0 / 494.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004589/0.3992, allocations: 109.6 kB / 494.7 MB, free: 11.83 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001442/0.3993, allocations: 120.3 kB / 494.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005325/0.3999, allocations: 353.4 kB / 495.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3999, allocations: 0 / 495.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.4002, allocations: 251.3 kB / 495.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.4005, allocations: 44.42 kB / 495.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008638/0.4013, allocations: 492.3 kB / 496 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.4017, allocations: 0.8146 MB / 496.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.4018, allocations: 31.27 kB / 496.8 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.4019, allocations: 34.92 kB / 496.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4019, allocations: 0 / 496.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of Templates: time 0.007364/0.4093, allocations: 3.883 MB / 0.489 GB, free: 6.082 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches