Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005138/0.005138, allocations: 146.9 kB / 24.68 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8262/0.8262, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 319.7 MB, free: 5.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.425e-05, allocations: 6.219 kB / 319.7 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.002812/0.002836, allocations: 3.182 MB / 322.9 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008901/0.003726, allocations: 0.8101 MB / 323.7 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.003854, allocations: 8 kB / 323.7 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.004009, allocations: 67.3 kB / 323.8 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.004221, allocations: 150.6 kB / 323.9 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.004428, allocations: 135.7 kB / 324.1 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.004771, allocations: 0.525 MB / 324.6 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/0.00522, allocations: 126.3 kB / 324.7 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.00544, allocations: 295.3 kB / 325 MB, free: 396 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.005612, allocations: 163.4 kB / 325.2 MB, free: 232 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.005663, allocations: 48 kB / 325.2 MB, free: 184 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.829e-05/0.005701, allocations: 44 kB / 325.3 MB, free: 140 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.005767, allocations: 107.5 kB / 325.4 MB, free: 32 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.005884, allocations: 163.7 kB / 325.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.006252, allocations: 0.5334 MB / 326 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.006254, allocations: 0 / 326 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006255, allocations: 0 / 326 MB, free: 15.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.00626, allocations: 0 / 326 MB, free: 15.33 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008511/0.007111, allocations: 0.7584 MB / 326.8 MB, free: 14.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.007142, allocations: 8.922 kB / 326.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.007207, allocations: 56.61 kB / 326.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.007496, allocations: 290.5 kB / 327.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.007515, allocations: 29.38 kB / 327.2 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.007556, allocations: 40.33 kB / 327.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.007992, allocations: 410.2 kB / 327.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.008007, allocations: 4.172 kB / 327.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.008034, allocations: 20.12 kB / 327.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.008042, allocations: 8 kB / 327.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.008358, allocations: 259.8 kB / 327.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.009512, allocations: 1.28 MB / 329.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.009779, allocations: 219.5 kB / 329.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.01001, allocations: 160.9 kB / 329.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.01003, allocations: 4.234 kB / 329.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.01029, allocations: 251.7 kB / 329.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.01029, allocations: 0 / 329.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008542/0.01114, allocations: 0.5059 MB / 330.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.01119, allocations: 114.7 kB / 330.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.01139, allocations: 288.1 kB / 330.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.01141, allocations: 37.7 kB / 330.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.0115, allocations: 216.7 kB / 331 MB, free: 10.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.01156, allocations: 103.1 kB / 331.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.01163, allocations: 74.06 kB / 331.1 MB, free: 9.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.01171, allocations: 334.8 kB / 331.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.01183, allocations: 88.7 kB / 331.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.01227, allocations: 255.2 kB / 331.8 MB, free: 9.246 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.01256, allocations: 323.1 kB / 332.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.01256, allocations: 4 kB / 332.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004224/0.01298, allocations: 408.1 kB / 332.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.013, allocations: 7.938 kB / 332.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.013, allocations: 11.94 kB / 332.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.0132, allocations: 81.31 kB / 332.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.01333, allocations: 63.84 kB / 332.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.01451, allocations: 1.849 MB / 334.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.01462, allocations: 39.77 kB / 334.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.01464, allocations: 24.06 kB / 334.6 MB, free: 6.285 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.01477, allocations: 172.7 kB / 334.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.01479, allocations: 31.81 kB / 334.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.01483, allocations: 31.08 kB / 334.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.01484, allocations: 4 kB / 334.8 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.01484, allocations: 7.938 kB / 334.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01484, allocations: 0 / 334.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.01519, allocations: 454.8 kB / 335.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01519, allocations: 4.031 kB / 335.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.076e-05/0.01528, allocations: 31.92 kB / 335.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/0.01542, allocations: 80.8 kB / 335.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.01543, allocations: 11.88 kB / 335.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.01648, allocations: 1.857 MB / 337.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01649, allocations: 0 / 337.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.01704, allocations: 0.4957 MB / 337.7 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.01711, allocations: 55.75 kB / 337.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.01714, allocations: 12 kB / 337.8 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.01722, allocations: 16.05 kB / 337.8 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.01727, allocations: 27.95 kB / 337.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.01728, allocations: 4 kB / 337.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.01741, allocations: 207.1 kB / 338.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01741, allocations: 3.938 kB / 338.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000282/0.01769, allocations: 119.7 kB / 338.2 MB, free: 2.504 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * 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 (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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 8.973e-05/0.01778, allocations: 103.2 kB / 338.3 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004562/0.01824, allocations: 410.3 kB / 338.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01824, allocations: 0 / 338.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005133/0.01875, allocations: 275.5 kB / 339 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.01896, allocations: 52.77 kB / 339 MB, free: 1.648 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000792/0.01975, allocations: 0.702 MB / 339.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.01987, allocations: 215 kB / 339.9 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.01993, allocations: 28.5 kB / 339.9 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01993, allocations: 3.938 kB / 339.9 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of Templates: time 0.005244/0.02517, allocations: 6.042 MB / 346 MB, free: 10.62 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.576391835696995]