Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 106.2 kB / 18.4 MB, free: 4.68 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.001091/0.001091, allocations: 185.5 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 51.94 kB / 329.3 MB, free: 3.234 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07097/0.07213, allocations: 46.62 MB / 375.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R): time 0.15/0.2221, allocations: 4.762 MB / 380.6 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.2244, allocations: 1.441 MB / 382.1 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002765/0.2247, allocations: 19.41 kB / 382.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.225, allocations: 134 kB / 382.2 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.2254, allocations: 198.9 kB / 382.4 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.2259, allocations: 301.6 kB / 382.7 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007161/0.2266, allocations: 0.9441 MB / 383.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006286/0.2273, allocations: 458.2 kB / 384.1 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.2276, allocations: 355.2 kB / 384.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.228, allocations: 373.9 kB / 384.8 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.2281, allocations: 88.44 kB / 384.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.2282, allocations: 89.25 kB / 385 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.2284, allocations: 191.1 kB / 385.2 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003086/0.2287, allocations: 408.8 kB / 385.6 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.2298, allocations: 1.017 MB / 386.6 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2298, allocations: 0 / 386.6 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2298, allocations: 0 / 386.6 MB, free: 7.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.2298, allocations: 5.312 kB / 386.6 MB, free: 7.969 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001653/0.2315, allocations: 1.046 MB / 387.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.2315, allocations: 9.703 kB / 387.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.2316, allocations: 82.17 kB / 387.7 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.2323, allocations: 0.4974 MB / 388.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.2323, allocations: 58.09 kB / 388.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.163e-05/0.2324, allocations: 63.53 kB / 388.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.2336, allocations: 0.6919 MB / 389.1 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.2336, allocations: 2.844 kB / 389.1 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.327e-05/0.2337, allocations: 34.52 kB / 389.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.2337, allocations: 15.25 kB / 389.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009183/0.2346, allocations: 0.5108 MB / 389.6 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003017/0.2376, allocations: 2.492 MB / 392.1 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008801/0.2385, allocations: 0.5378 MB / 392.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005847/0.2391, allocations: 325.5 kB / 393 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.2392, allocations: 4.953 kB / 393 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005835/0.2398, allocations: 365.1 kB / 393.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=57): time 2.685e-06/0.2398, allocations: 0 / 393.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=57): time 0.002636/0.2424, allocations: 1.052 MB / 394.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.2425, allocations: 113.5 kB / 394.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.243, allocations: 466.7 kB / 394.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.243, allocations: 45.28 kB / 395 MB, free: 3.258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.2432, allocations: 313.9 kB / 395.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.2433, allocations: 169.4 kB / 395.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.2435, allocations: 124.1 kB / 395.6 MB, free: 2.816 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.2436, allocations: 365.2 kB / 395.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.2439, allocations: 201.6 kB / 396.1 MB, free: 2.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.2444, allocations: 359.6 kB / 396.5 MB, free: 2.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006765/0.245, allocations: 0.5046 MB / 397 MB, free: 1.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2451, allocations: 2.469 kB / 397 MB, free: 1.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001062/0.2461, allocations: 0.6885 MB / 397.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2462, allocations: 7.031 kB / 397.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2462, allocations: 8.281 kB / 397.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004533/0.2466, allocations: 156.2 kB / 397.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.2469, allocations: 83.33 kB / 397.9 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/0.2496, allocations: 2.587 MB / 400.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.25, allocations: 76.64 kB / 400.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.2501, allocations: 26.48 kB / 400.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005239/0.2506, allocations: 356.2 kB / 401 MB, free: 15.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004544/0.2511, allocations: 353.1 kB / 401.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007308/0.2518, allocations: 493.5 kB / 401.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.2518, allocations: 2.031 kB / 401.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001102/0.2529, allocations: 0.6697 MB / 402.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.2529, allocations: 7.375 kB / 402.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.253, allocations: 4.469 kB / 402.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004091/0.2534, allocations: 166.7 kB / 402.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.2537, allocations: 81.31 kB / 402.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.2566, allocations: 2.58 MB / 405.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.257, allocations: 59.14 kB / 405.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.257, allocations: 27.22 kB / 405.4 MB, free: 12.01 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 29 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,pulse2.fire_n,pulse2.fire_p,pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,rectifier.thyristor_n2.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.off,rectifier.andCondition_n.y,rectifier.andCondition_p.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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.0002092/0.2573, allocations: 244 kB / 405.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.2573, allocations: 55.88 kB / 405.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.2575, allocations: 68.88 kB / 405.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.2575, allocations: 7.422 kB / 405.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2575, allocations: 0 / 405.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.2578, allocations: 188.7 kB / 405.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.695e-05/0.2579, allocations: 13.38 kB / 405.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.2582, allocations: 32.77 kB / 406 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.2583, allocations: 44.88 kB / 406 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001571/0.2599, allocations: 0.7029 MB / 406.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001351/0.2612, allocations: 0.9283 MB / 407.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003782/0.2616, allocations: 225.2 kB / 407.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003659/0.262, allocations: 314 kB / 408.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Backend: time 4.41e-07/0.262, allocations: 4 kB / 408.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.2639, allocations: 1.133 MB / 409.3 MB, free: 9.746 MB / 334.1 MB Notification: Performance of SimCode: time 0.001933/0.2659, allocations: 1.67 MB / 411 MB, free: 8.512 MB / 334.1 MB Notification: Performance of Templates: time 0.01815/0.2841, allocations: 12.07 MB / 423.1 MB, free: 14.8 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches