Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.RectifierBridge2Pulse.DiodeBridge2Pulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 110 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 242.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 51.09 kB / 302.1 MB, free: 5.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0972/0.09889, allocations: 49.44 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005119/0.1041, allocations: 3.701 MB / 355.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1059, allocations: 0.9271 MB / 356.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004326/0.1063, allocations: 8 kB / 356.1 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.1067, allocations: 79.16 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005713/0.1073, allocations: 142.8 kB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.1077, allocations: 167.7 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006152/0.1083, allocations: 0.6031 MB / 357.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.1087, allocations: 216.1 kB / 357.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.109, allocations: 235.1 kB / 357.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.1093, allocations: 242.9 kB / 357.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.809e-05/0.1094, allocations: 56 kB / 357.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.984e-05/0.1094, allocations: 56 kB / 357.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1095, allocations: 123.5 kB / 358 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.1098, allocations: 270.7 kB / 358.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005084/0.1103, allocations: 0.6229 MB / 358.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1103, allocations: 0 / 358.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1103, allocations: 0 / 358.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1103, allocations: 0 / 358.9 MB, free: 12.21 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001372/0.1117, allocations: 0.7845 MB / 359.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1117, allocations: 8.031 kB / 359.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.1119, allocations: 60.27 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.1124, allocations: 364.2 kB / 360.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.1125, allocations: 37.38 kB / 360.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-05/0.1125, allocations: 40.38 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007108/0.1133, allocations: 465.5 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.1133, allocations: 0 / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.1133, allocations: 16 kB / 360.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.1134, allocations: 12 kB / 360.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.1139, allocations: 327.8 kB / 361 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.1161, allocations: 1.847 MB / 362.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.1169, allocations: 0.609 MB / 363.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005248/0.1174, allocations: 276.6 kB / 363.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.1175, allocations: 4.328 kB / 363.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004382/0.1179, allocations: 277.1 kB / 364 MB, free: 6.828 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.1179, allocations: 0 / 364 MB, free: 6.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002253/0.1202, allocations: 0.8344 MB / 364.8 MB, free: 5.965 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.1203, allocations: 85.11 kB / 364.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.1206, allocations: 312.5 kB / 365.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.1206, allocations: 33.7 kB / 365.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1208, allocations: 220.3 kB / 365.5 MB, free: 5.293 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.1209, allocations: 134 kB / 365.6 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.1211, allocations: 86.25 kB / 365.7 MB, free: 5.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1212, allocations: 350.7 kB / 366 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.1214, allocations: 125 kB / 366.2 MB, free: 4.594 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/0.1219, allocations: 256.9 kB / 366.4 MB, free: 4.289 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.1224, allocations: 386.6 kB / 366.8 MB, free: 3.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1224, allocations: 0 / 366.8 MB, free: 3.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008392/0.1233, allocations: 0.5088 MB / 367.3 MB, free: 3.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1233, allocations: 4 kB / 367.3 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1233, allocations: 4 kB / 367.3 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004786/0.1238, allocations: 157 kB / 367.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.124, allocations: 63.91 kB / 367.5 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/0.127, allocations: 2.543 MB / 370.1 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.1273, allocations: 43.59 kB / 370.1 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.1273, allocations: 20 kB / 370.1 MB, free: 372 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002393/0.1276, allocations: 178.5 kB / 370.3 MB, free: 184 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.1276, allocations: 39.62 kB / 370.3 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.1277, allocations: 48.23 kB / 370.4 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1278, allocations: 4 kB / 370.4 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1278, allocations: 4 kB / 370.4 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1278, allocations: 3.984 kB / 370.4 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1706/0.2984, allocations: 1.019 MB / 371.4 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2985, allocations: 1.344 kB / 371.4 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.2986, allocations: 34.19 kB / 371.5 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003817/0.299, allocations: 145.3 kB / 371.6 MB, free: 25.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.2991, allocations: 9.625 kB / 371.6 MB, free: 25.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.3014, allocations: 2.532 MB / 374.1 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3014, allocations: 4.375 kB / 374.1 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.3024, allocations: 0.718 MB / 374.9 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.3026, allocations: 152.8 kB / 375 MB, free: 23.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/0.3026, allocations: 12.31 kB / 375 MB, free: 23.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.3029, allocations: 12.44 kB / 375 MB, free: 23.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.303, allocations: 41.19 kB / 375.1 MB, free: 23.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.303, allocations: 15.02 kB / 375.1 MB, free: 23.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.3032, allocations: 219.2 kB / 375.3 MB, free: 23.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3032, allocations: 0 / 375.3 MB, free: 23.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005632/0.3038, allocations: 149.2 kB / 375.4 MB, free: 23.03 MB / 302.1 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.3039, allocations: 124 kB / 375.6 MB, free: 22.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008184/0.3048, allocations: 0.5265 MB / 376.1 MB, free: 22.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3048, allocations: 0 / 376.1 MB, free: 22.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000463/0.3052, allocations: 386.3 kB / 376.5 MB, free: 22.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.3057, allocations: 87.95 kB / 376.6 MB, free: 22.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.3071, allocations: 0.844 MB / 377.4 MB, free: 21.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3074, allocations: 0.8291 MB / 378.2 MB, free: 21.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.3076, allocations: 38.97 kB / 378.3 MB, free: 21.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.3076, allocations: 28.72 kB / 378.3 MB, free: 21.23 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3077, allocations: 1.406 kB / 378.3 MB, free: 21.23 MB / 302.1 MB Notification: Performance of Templates: time 0.01303/0.3207, allocations: 6.893 MB / 385.2 MB, free: 19.73 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches