Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001878/0.001878, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002329/0.002329, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.431/1.431, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inductor.i|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_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inductor.i|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_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.83 kB / 378.8 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2147, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL): time 0.007003/0.2217, allocations: 5.078 MB / 437.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.2245, allocations: 1.506 MB / 438.7 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004508/0.225, allocations: 23.88 kB / 438.7 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.2253, allocations: 138.7 kB / 438.9 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005211/0.2258, allocations: 218.2 kB / 439.1 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006545/0.2265, allocations: 335.4 kB / 439.4 MB, free: 48 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.2275, allocations: 1.01 MB / 440.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005357/0.2281, allocations: 326.4 kB / 440.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004518/0.2285, allocations: 378.6 kB / 441.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000496/0.229, allocations: 402.1 kB / 441.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.2291, allocations: 96 kB / 441.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.2293, allocations: 99.98 kB / 441.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.2295, allocations: 223.2 kB / 441.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003904/0.2299, allocations: 437.8 kB / 442.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.231, allocations: 1.109 MB / 443.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.231, allocations: 0 / 443.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.231, allocations: 0 / 443.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.231, allocations: 0 / 443.4 MB, free: 11.97 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002158/0.2332, allocations: 1.321 MB / 444.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2332, allocations: 8.031 kB / 444.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.2335, allocations: 104.4 kB / 444.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007856/0.2343, allocations: 0.5349 MB / 445.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.129e-05/0.2343, allocations: 58.38 kB / 445.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.2345, allocations: 68.36 kB / 445.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.2357, allocations: 0.7705 MB / 446.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.2358, allocations: 0 / 446.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.397e-05/0.2358, allocations: 28 kB / 446.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.2359, allocations: 16 kB / 446.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.237, allocations: 0.5634 MB / 446.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.2408, allocations: 2.663 MB / 449.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009799/0.2418, allocations: 0.5376 MB / 450.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.2428, allocations: 442.1 kB / 450.5 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.424e-05/0.2429, allocations: 8.547 kB / 450.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006793/0.2435, allocations: 397.8 kB / 450.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 1.844e-06/0.2435, allocations: 0 / 450.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.00286/0.2464, allocations: 1.174 MB / 452.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.2465, allocations: 149 kB / 452.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/0.2471, allocations: 494 kB / 452.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.864e-05/0.2471, allocations: 49.69 kB / 452.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.2474, allocations: 332.9 kB / 453.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.2476, allocations: 198.3 kB / 453.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.2478, allocations: 122.7 kB / 453.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.2479, allocations: 374.7 kB / 453.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.2484, allocations: 232.8 kB / 454 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005707/0.249, allocations: 397.3 kB / 454.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009176/0.2499, allocations: 0.5573 MB / 455 MB, free: 15.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2499, allocations: 4 kB / 455 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001339/0.2512, allocations: 0.7465 MB / 455.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.2512, allocations: 10.81 kB / 455.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2512, allocations: 4 kB / 455.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004965/0.2517, allocations: 165.5 kB / 455.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.2521, allocations: 99.81 kB / 456 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00408/0.2562, allocations: 3.982 MB / 460 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.2566, allocations: 75.59 kB / 460 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.2566, allocations: 27.94 kB / 460.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005975/0.2572, allocations: 390.1 kB / 460.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005303/0.2578, allocations: 385.4 kB / 460.8 MB, free: 9.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008188/0.2586, allocations: 0.5261 MB / 461.3 MB, free: 9.113 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.519e-06/0.2586, allocations: 3.984 kB / 461.3 MB, free: 9.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001266/0.2598, allocations: 0.7264 MB / 462.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.2599, allocations: 8 kB / 462.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2599, allocations: 4 kB / 462.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004287/0.2603, allocations: 166.2 kB / 462.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.2606, allocations: 87.83 kB / 462.3 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00408/0.2647, allocations: 3.997 MB / 466.3 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.2651, allocations: 67.7 kB / 466.4 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.2652, allocations: 20 kB / 466.4 MB, free: 3.734 MB / 366.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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,$PRE.rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002271/0.2654, allocations: 240 kB / 466.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.97e-05/0.2655, allocations: 67.58 kB / 466.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.2657, allocations: 73.77 kB / 466.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.2657, allocations: 3.984 kB / 466.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2657, allocations: 0 / 466.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.2659, allocations: 196.8 kB / 467 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.994e-05/0.266, allocations: 16 kB / 467 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.2664, allocations: 39.91 kB / 467 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.2665, allocations: 60.34 kB / 467.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001858/0.2683, allocations: 0.7736 MB / 467.9 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001591/0.2699, allocations: 1.017 MB / 468.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004322/0.2704, allocations: 232.4 kB / 469.1 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000393/0.2708, allocations: 338.9 kB / 469.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of Backend: time 2.41e-07/0.2708, allocations: 0 / 469.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002319/0.2731, allocations: 1.318 MB / 470.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of SimCode: time 0.002371/0.2755, allocations: 1.846 MB / 472.6 MB, free: 13.38 MB / 382.1 MB Notification: Performance of Templates: time 0.02291/0.2984, allocations: 13.49 MB / 486.1 MB, free: 80 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.584112444892526]