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_RLV.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.001268/0.001268, allocations: 114.5 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.002276/0.002276, allocations: 211.4 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.406/1.406, 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_RLV,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_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,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_RLV") [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.001984/0.001984, allocations: 71.83 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2145, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV): time 0.006769/0.2212, allocations: 5.192 MB / 437.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.2239, allocations: 1.517 MB / 438.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.2242, allocations: 23.88 kB / 438.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.2245, allocations: 146.6 kB / 439 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005184/0.2251, allocations: 230.1 kB / 439.2 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006823/0.2257, allocations: 335.4 kB / 439.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.2268, allocations: 1.033 MB / 440.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005371/0.2273, allocations: 334.5 kB / 440.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004694/0.2278, allocations: 398.5 kB / 441.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005047/0.2283, allocations: 410.1 kB / 441.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.2284, allocations: 96 kB / 441.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.2286, allocations: 103.9 kB / 441.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.2288, allocations: 223.2 kB / 442.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004051/0.2292, allocations: 445.8 kB / 442.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.2304, allocations: 1.128 MB / 443.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2304, allocations: 0 / 443.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2304, allocations: 4 kB / 443.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.2304, allocations: 0 / 443.7 MB, free: 11.74 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.0022/0.2326, allocations: 1.36 MB / 445 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2326, allocations: 12.02 kB / 445 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.2329, allocations: 100.4 kB / 445.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008052/0.2337, allocations: 0.5388 MB / 445.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.345e-05/0.2337, allocations: 58.38 kB / 445.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.2339, allocations: 72.38 kB / 445.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.2352, allocations: 0.7874 MB / 446.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.2352, allocations: 0 / 446.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/0.2353, allocations: 35.98 kB / 446.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.2353, allocations: 16 kB / 446.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.2364, allocations: 0.5738 MB / 447.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00398/0.2404, allocations: 2.701 MB / 449.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.2414, allocations: 0.5603 MB / 450.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.2425, allocations: 478.1 kB / 450.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.2426, allocations: 12.55 kB / 451 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007029/0.2433, allocations: 401.7 kB / 451.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.875e-06/0.2433, allocations: 0 / 451.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=62): time 0.002978/0.2462, allocations: 1.193 MB / 452.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.971e-05/0.2463, allocations: 137.1 kB / 452.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/0.247, allocations: 0.4941 MB / 453.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.247, allocations: 45.7 kB / 453.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.2473, allocations: 348.8 kB / 453.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.2475, allocations: 202.3 kB / 453.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.2477, allocations: 134.6 kB / 453.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.2479, allocations: 370.8 kB / 454.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/0.2484, allocations: 236.7 kB / 454.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/0.2489, allocations: 397.3 kB / 454.9 MB, free: 84 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000946/0.2499, allocations: 0.5617 MB / 455.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2499, allocations: 0 / 455.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001354/0.2512, allocations: 0.7617 MB / 456.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2513, allocations: 4 kB / 456.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2513, allocations: 12 kB / 456.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004997/0.2518, allocations: 170 kB / 456.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.2522, allocations: 95.83 kB / 456.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/0.2563, allocations: 3.971 MB / 460.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.2567, allocations: 83.55 kB / 460.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.2568, allocations: 28 kB / 460.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006246/0.2574, allocations: 386 kB / 460.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005343/0.2579, allocations: 385.3 kB / 461.3 MB, free: 9.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008238/0.2587, allocations: 0.5383 MB / 461.8 MB, free: 8.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/0.2587, allocations: 4 kB / 461.8 MB, free: 8.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001239/0.26, allocations: 0.7309 MB / 462.6 MB, free: 7.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.26, allocations: 12.03 kB / 462.6 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.26, allocations: 4 kB / 462.6 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.2604, allocations: 157.8 kB / 462.7 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.2608, allocations: 99.83 kB / 462.8 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00399/0.2647, allocations: 3.982 MB / 466.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.2652, allocations: 75.64 kB / 466.9 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/0.2652, allocations: 27.98 kB / 466.9 MB, free: 3.242 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 (69): * Single equations (assignments): 67 * 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.0002497/0.2655, allocations: 244.2 kB / 467.2 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.96e-05/0.2656, allocations: 59.62 kB / 467.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.2657, allocations: 77.73 kB / 467.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2658, allocations: 7.922 kB / 467.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2658, allocations: 0 / 467.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.266, allocations: 204.4 kB / 467.5 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.801e-05/0.2661, allocations: 16 kB / 467.5 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.2664, allocations: 35.97 kB / 467.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.2666, allocations: 48.5 kB / 467.6 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001842/0.2684, allocations: 0.7853 MB / 468.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001584/0.27, allocations: 1.025 MB / 469.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004248/0.2704, allocations: 240.3 kB / 469.6 MB, free: 476 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003945/0.2708, allocations: 338.9 kB / 470 MB, free: 140 kB / 366.1 MB Notification: Performance of Backend: time 1.7e-07/0.2708, allocations: 4 kB / 470 MB, free: 136 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002401/0.2732, allocations: 1.328 MB / 471.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of SimCode: time 0.002445/0.2757, allocations: 1.862 MB / 473.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of Templates: time 0.02312/0.2988, allocations: 13.63 MB / 486.8 MB, free: 15.38 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_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_RLV/ThyristorBridge2Pulse_RLV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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.5737280999310315]