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.001174/0.001174, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 60.3 kB / 307 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1045, allocations: 50.55 MB / 357.5 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005212/0.1098, allocations: 3.738 MB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1114, allocations: 0.9975 MB / 362.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.1116, allocations: 8 kB / 362.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.1118, allocations: 79.16 kB / 362.4 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.1121, allocations: 146.7 kB / 362.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.1125, allocations: 179.7 kB / 362.7 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006242/0.1132, allocations: 0.6226 MB / 363.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004568/0.1136, allocations: 216.1 kB / 363.5 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003829/0.114, allocations: 239.1 kB / 363.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.1143, allocations: 250.9 kB / 364 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-05/0.1144, allocations: 56 kB / 364.1 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1146, allocations: 60 kB / 364.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.1147, allocations: 127.5 kB / 364.2 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002717/0.115, allocations: 278.6 kB / 364.5 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008121/0.1158, allocations: 0.6346 MB / 365.1 MB, free: 6.355 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1158, allocations: 0 / 365.1 MB, free: 6.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1158, allocations: 0 / 365.1 MB, free: 6.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1158, allocations: 0 / 365.1 MB, free: 6.355 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.001403/0.1173, allocations: 0.7884 MB / 365.9 MB, free: 5.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1173, allocations: 8.031 kB / 365.9 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.1175, allocations: 68.27 kB / 366 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.118, allocations: 372.8 kB / 366.4 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.1181, allocations: 33.31 kB / 366.4 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/0.1182, allocations: 44.38 kB / 366.4 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008105/0.119, allocations: 461.5 kB / 366.9 MB, free: 4.488 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.119, allocations: 4 kB / 366.9 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.1191, allocations: 23.92 kB / 366.9 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.1191, allocations: 15.94 kB / 366.9 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006193/0.1197, allocations: 327.8 kB / 367.3 MB, free: 4.125 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.1225, allocations: 1.855 MB / 369.1 MB, free: 2.168 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00086/0.1233, allocations: 0.6253 MB / 369.7 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009029/0.1242, allocations: 269.4 kB / 370 MB, free: 1.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.1243, allocations: 8.312 kB / 370 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/0.1247, allocations: 265.2 kB / 370.3 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.833e-06/0.1248, allocations: 0 / 370.3 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002367/0.1271, allocations: 0.8539 MB / 371.1 MB, free: 48 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1362/0.2633, allocations: 79.33 kB / 371.2 MB, free: 20.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.2638, allocations: 319.9 kB / 371.5 MB, free: 20.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.605e-05/0.2639, allocations: 34.61 kB / 371.5 MB, free: 20.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.264, allocations: 222.5 kB / 371.8 MB, free: 20.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.056e-05/0.2641, allocations: 135 kB / 371.9 MB, free: 20.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.2643, allocations: 87.77 kB / 372 MB, free: 20.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.237e-05/0.2644, allocations: 354.7 kB / 372.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.2646, allocations: 119.2 kB / 372.4 MB, free: 19.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.2649, allocations: 252.1 kB / 372.7 MB, free: 19.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.2654, allocations: 380.5 kB / 373.1 MB, free: 19.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2654, allocations: 1.375 kB / 373.1 MB, free: 19.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008562/0.2663, allocations: 0.5128 MB / 373.6 MB, free: 19.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2663, allocations: 7.156 kB / 373.6 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2664, allocations: 4.391 kB / 373.6 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004845/0.2668, allocations: 155 kB / 373.7 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.2671, allocations: 60.5 kB / 373.8 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.2695, allocations: 2.548 MB / 376.3 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.2698, allocations: 43.31 kB / 376.4 MB, free: 17.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.2698, allocations: 19.08 kB / 376.4 MB, free: 17.35 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.000173/0.27, allocations: 178.4 kB / 376.6 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.2701, allocations: 43.34 kB / 376.6 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.231e-05/0.2702, allocations: 49.03 kB / 376.7 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2702, allocations: 5.25 kB / 376.7 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2702, allocations: 0 / 376.7 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.2702, allocations: 4.266 kB / 376.7 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.2714, allocations: 1.034 MB / 377.7 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2714, allocations: 0.875 kB / 377.7 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.2716, allocations: 32.47 kB / 377.7 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/0.272, allocations: 146.2 kB / 377.9 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.272, allocations: 16.97 kB / 377.9 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.2747, allocations: 2.537 MB / 380.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2747, allocations: 1.906 kB / 380.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.276, allocations: 0.7236 MB / 381.2 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.2762, allocations: 149.2 kB / 381.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/0.2762, allocations: 8.469 kB / 381.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.2764, allocations: 16.75 kB / 381.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.2766, allocations: 38.84 kB / 381.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.2766, allocations: 17.22 kB / 381.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002573/0.2769, allocations: 226.1 kB / 381.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2769, allocations: 0 / 381.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006785/0.2776, allocations: 145.5 kB / 381.8 MB, free: 13.68 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.0001642/0.2777, allocations: 124.3 kB / 381.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.2787, allocations: 0.5515 MB / 382.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2788, allocations: 0 / 382.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.2792, allocations: 376 kB / 382.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.2797, allocations: 90.88 kB / 382.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.2812, allocations: 0.8786 MB / 383.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.2815, allocations: 0.8315 MB / 384.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.2816, allocations: 41.33 kB / 384.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.2817, allocations: 28.06 kB / 384.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2817, allocations: 5.375 kB / 384.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of Templates: time 0.01252/0.2942, allocations: 6.966 MB / 391.6 MB, free: 10.01 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/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