Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001459/0.001459, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001739/0.001739, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.16 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09895/0.1002, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005134/0.1054, allocations: 3.733 MB / 362.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.1072, allocations: 0.9972 MB / 363.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.1074, allocations: 11.94 kB / 363.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.1076, allocations: 79.22 kB / 363.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.108, allocations: 146.7 kB / 363.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.1084, allocations: 175.7 kB / 364.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006119/0.109, allocations: 0.6187 MB / 364.7 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003267/0.1094, allocations: 212.1 kB / 364.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.1097, allocations: 243.1 kB / 365.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.11, allocations: 254.8 kB / 365.4 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.939e-05/0.1101, allocations: 56 kB / 365.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.1102, allocations: 56 kB / 365.5 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1103, allocations: 127.5 kB / 365.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.1105, allocations: 278.7 kB / 365.9 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.1111, allocations: 0.6384 MB / 366.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1111, allocations: 0 / 366.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1112, allocations: 0 / 366.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1112, allocations: 0 / 366.5 MB, free: 5.715 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.001358/0.1125, allocations: 0.796 MB / 367.3 MB, free: 4.863 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.1126, allocations: 8.031 kB / 367.3 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.1128, allocations: 76.2 kB / 367.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.1133, allocations: 380.7 kB / 367.8 MB, free: 4.375 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.1133, allocations: 29.38 kB / 367.8 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.1134, allocations: 48.38 kB / 367.8 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007054/0.1141, allocations: 469.4 kB / 368.3 MB, free: 3.816 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1141, allocations: 0 / 368.3 MB, free: 3.816 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.1142, allocations: 16 kB / 368.3 MB, free: 3.801 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.1142, allocations: 12 kB / 368.3 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/0.1148, allocations: 323.8 kB / 368.6 MB, free: 3.473 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.1171, allocations: 1.855 MB / 370.5 MB, free: 1.512 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.1179, allocations: 0.6138 MB / 371.1 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.1185, allocations: 273 kB / 371.4 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.1185, allocations: 4.328 kB / 371.4 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004581/0.119, allocations: 273.2 kB / 371.6 MB, free: 288 kB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.119, allocations: 0 / 371.6 MB, free: 288 kB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.1561/0.2751, allocations: 0.8351 MB / 372.5 MB, free: 20.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.2752, allocations: 84.41 kB / 372.6 MB, free: 20.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005458/0.2758, allocations: 327.8 kB / 372.9 MB, free: 20.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.2758, allocations: 37.22 kB / 372.9 MB, free: 20.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.276, allocations: 224.8 kB / 373.1 MB, free: 20.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.2761, allocations: 139 kB / 373.3 MB, free: 20.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.2763, allocations: 83.45 kB / 373.4 MB, free: 20.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.2764, allocations: 348.9 kB / 373.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.2766, allocations: 120.4 kB / 373.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.277, allocations: 250.6 kB / 374.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.2775, allocations: 383 kB / 374.4 MB, free: 19.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2775, allocations: 3.25 kB / 374.4 MB, free: 19.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001033/0.2786, allocations: 0.5088 MB / 374.9 MB, free: 19.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.2786, allocations: 10.59 kB / 375 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.2786, allocations: 5.688 kB / 375 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/0.2792, allocations: 146.6 kB / 375.1 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.2795, allocations: 71.8 kB / 375.2 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/0.2822, allocations: 2.535 MB / 377.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.2825, allocations: 42.25 kB / 377.8 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.2825, allocations: 19.78 kB / 377.8 MB, free: 17.27 MB / 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.0001953/0.2827, allocations: 178.4 kB / 377.9 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.2828, allocations: 49.89 kB / 378 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.431e-05/0.2829, allocations: 44.14 kB / 378 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.2829, allocations: 4.828 kB / 378 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2829, allocations: 1.375 kB / 378 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.2829, allocations: 1.828 kB / 378 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.2844, allocations: 1.039 MB / 379.1 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2844, allocations: 4.734 kB / 379.1 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.2846, allocations: 34.77 kB / 379.1 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000384/0.285, allocations: 143 kB / 379.3 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.285, allocations: 11.8 kB / 379.3 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/0.2874, allocations: 2.527 MB / 381.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2874, allocations: 0.7969 kB / 381.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.2884, allocations: 0.7219 MB / 382.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.2886, allocations: 151.7 kB / 382.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/0.2886, allocations: 7.406 kB / 382.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.2888, allocations: 13.41 kB / 382.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.289, allocations: 40.5 kB / 382.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.289, allocations: 13.67 kB / 382.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002297/0.2892, allocations: 226.9 kB / 383 MB, free: 13.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.2892, allocations: 4 kB / 383 MB, free: 13.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006001/0.2898, allocations: 151.8 kB / 383.1 MB, free: 13.6 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.0001508/0.29, allocations: 119.1 kB / 383.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009514/0.291, allocations: 0.5416 MB / 383.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.291, allocations: 0 / 383.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005239/0.2915, allocations: 381.7 kB / 384.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.292, allocations: 86.89 kB / 384.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2936, allocations: 0.8676 MB / 385.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.2939, allocations: 0.8286 MB / 385.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.2941, allocations: 41.42 kB / 386 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.2941, allocations: 32.14 kB / 386 MB, free: 11.75 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2941, allocations: 0 / 386 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Templates: time 0.01436/0.3085, allocations: 6.979 MB / 393 MB, free: 9.781 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches