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.000747/0.000747, allocations: 93.56 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008651/0.0008651, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.7 MB / 246.8 MB, free: 11.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002097/0.0002097, allocations: 8 kB / 307.7 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.09, allocations: 51.52 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003745/0.09378, allocations: 3.386 MB / 362.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.09526, allocations: 0.9626 MB / 363.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.09545, allocations: 11.94 kB / 363.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.09563, allocations: 55.53 kB / 363.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.09593, allocations: 123 kB / 363.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.09624, allocations: 155.8 kB / 363.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005114/0.09676, allocations: 0.5719 MB / 364.5 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.09709, allocations: 195.2 kB / 364.7 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.09738, allocations: 195.1 kB / 364.9 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.0977, allocations: 214.9 kB / 365.1 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.996e-05/0.09776, allocations: 24 kB / 365.1 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.198e-05/0.09785, allocations: 31.94 kB / 365.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.09796, allocations: 83.61 kB / 365.2 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.09819, allocations: 268.3 kB / 365.5 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005581/0.09876, allocations: 0.5875 MB / 366.1 MB, free: 6.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.09878, allocations: 0 / 366.1 MB, free: 6.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.09879, allocations: 4 kB / 366.1 MB, free: 6.418 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.0988, allocations: 0 / 366.1 MB, free: 6.418 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.001207/0.1, allocations: 0.7027 MB / 366.8 MB, free: 5.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1001, allocations: 8.031 kB / 366.8 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.1003, allocations: 68.27 kB / 366.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.1007, allocations: 372.7 kB / 367.2 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.1008, allocations: 37.38 kB / 367.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.1009, allocations: 44.38 kB / 367.3 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000755/0.1016, allocations: 469.5 kB / 367.8 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1016, allocations: 4 kB / 367.8 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.1017, allocations: 16 kB / 367.8 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.1017, allocations: 8 kB / 367.8 MB, free: 4.602 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005999/0.1023, allocations: 331.8 kB / 368.1 MB, free: 4.277 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.1047, allocations: 1.886 MB / 370 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007486/0.1055, allocations: 0.6288 MB / 370.6 MB, free: 1.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005634/0.106, allocations: 273.9 kB / 370.9 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.1061, allocations: 8.328 kB / 370.9 MB, free: 1.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004246/0.1065, allocations: 265.2 kB / 371.2 MB, free: 1.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.1065, allocations: 0 / 371.2 MB, free: 1.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002282/0.1088, allocations: 0.8578 MB / 372 MB, free: 152 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.1089, allocations: 85.11 kB / 372.1 MB, free: 48 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.162/0.2709, allocations: 316.8 kB / 372.4 MB, free: 19.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.904e-05/0.271, allocations: 35.97 kB / 372.5 MB, free: 19.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.2712, allocations: 220.6 kB / 372.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.789e-05/0.2713, allocations: 145.4 kB / 372.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.2713, allocations: 47.34 kB / 372.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.88e-05/0.2714, allocations: 352.3 kB / 373.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.2717, allocations: 120.7 kB / 373.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.272, allocations: 256.6 kB / 373.6 MB, free: 19.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.2724, allocations: 388.8 kB / 374 MB, free: 18.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2725, allocations: 2.094 kB / 374 MB, free: 18.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008836/0.2733, allocations: 0.5103 MB / 374.5 MB, free: 18.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2734, allocations: 6.156 kB / 374.5 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2734, allocations: 7.25 kB / 374.5 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004735/0.2739, allocations: 151.6 kB / 374.6 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.2741, allocations: 63.34 kB / 374.7 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.2765, allocations: 2.324 MB / 377 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.2767, allocations: 45.02 kB / 377.1 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.2767, allocations: 17.75 kB / 377.1 MB, free: 17.2 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.0001642/0.2769, allocations: 182.8 kB / 377.3 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.277, allocations: 43.94 kB / 377.3 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.144e-05/0.2771, allocations: 48.56 kB / 377.3 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2771, allocations: 5.5 kB / 377.4 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2771, allocations: 0 / 377.4 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.2771, allocations: 7.281 kB / 377.4 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.2783, allocations: 1.027 MB / 378.4 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2784, allocations: 3.938 kB / 378.4 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.2785, allocations: 40.78 kB / 378.4 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003441/0.2789, allocations: 143.7 kB / 378.6 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.2789, allocations: 8.438 kB / 378.6 MB, free: 16.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.2809, allocations: 2.31 MB / 380.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.281, allocations: 3.938 kB / 380.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000971/0.2819, allocations: 0.7263 MB / 381.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.2821, allocations: 152.7 kB / 381.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.2821, allocations: 6.75 kB / 381.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2823, allocations: 28.88 kB / 381.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.2824, allocations: 36.23 kB / 381.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.2825, allocations: 16.97 kB / 381.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.2827, allocations: 223.4 kB / 382.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2827, allocations: 0 / 382.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006711/0.2834, allocations: 141.3 kB / 382.2 MB, free: 13.73 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.0001306/0.2835, allocations: 121.8 kB / 382.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008957/0.2844, allocations: 0.5375 MB / 382.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2844, allocations: 0.9375 kB / 382.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004438/0.2849, allocations: 375.5 kB / 383.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.2854, allocations: 90.12 kB / 383.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.2869, allocations: 1.077 MB / 384.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.2873, allocations: 0.8386 MB / 385.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.2874, allocations: 41.48 kB / 385.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.2875, allocations: 27.25 kB / 385.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2875, allocations: 0 / 385.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Templates: time 0.01363/0.3011, allocations: 6.404 MB / 391.7 MB, free: 10.14 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.0.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