Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 110.8 kB / 21.19 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 211.6 kB / 24.49 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 51.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2197, allocations: 53.36 MB / 432.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R): time 0.006432/0.2261, allocations: 4.483 MB / 436.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.2287, allocations: 1.438 MB / 438.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.229, allocations: 23.81 kB / 438.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.2293, allocations: 138.7 kB / 438.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005375/0.2298, allocations: 214.2 kB / 438.7 MB, free: 396 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.2305, allocations: 319.5 kB / 439 MB, free: 76 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.2315, allocations: 1.002 MB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005482/0.2321, allocations: 314.7 kB / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004875/0.2326, allocations: 374.6 kB / 440.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004759/0.233, allocations: 390.2 kB / 441 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.2332, allocations: 96 kB / 441.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.2334, allocations: 100 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.2336, allocations: 207.2 kB / 441.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003773/0.234, allocations: 342.4 kB / 441.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.2352, allocations: 1.085 MB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2352, allocations: 0 / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2352, allocations: 7.938 kB / 442.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.2352, allocations: 0 / 442.9 MB, free: 12.17 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002178/0.2374, allocations: 1.228 MB / 444.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.2374, allocations: 12.02 kB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003147/0.2378, allocations: 96.38 kB / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008098/0.2386, allocations: 477.2 kB / 444.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/0.2386, allocations: 49.69 kB / 444.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.2387, allocations: 68.38 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.2401, allocations: 0.8136 MB / 445.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.2401, allocations: 4 kB / 445.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.2402, allocations: 27.98 kB / 445.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.2402, allocations: 16 kB / 445.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.2414, allocations: 0.5439 MB / 446.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/0.2451, allocations: 2.262 MB / 448.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.2462, allocations: 0.5208 MB / 449 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007921/0.247, allocations: 310 kB / 449.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.2471, allocations: 8.438 kB / 449.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007087/0.2478, allocations: 418.3 kB / 449.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=59): time 2.334e-06/0.2478, allocations: 0 / 449.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.003185/0.251, allocations: 1.032 MB / 450.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/0.251, allocations: 141 kB / 450.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.2516, allocations: 445.8 kB / 451.3 MB, free: 3.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/0.2516, allocations: 41.64 kB / 451.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.2519, allocations: 336.8 kB / 451.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.2521, allocations: 190.4 kB / 451.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.2524, allocations: 122.3 kB / 452 MB, free: 2.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.2526, allocations: 366.8 kB / 452.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.253, allocations: 215.4 kB / 452.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/0.2537, allocations: 466.9 kB / 453 MB, free: 1.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009192/0.2546, allocations: 0.529 MB / 453.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.2546, allocations: 4 kB / 453.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00132/0.256, allocations: 0.7129 MB / 454.2 MB, free: 332 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.256, allocations: 8 kB / 454.2 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.256, allocations: 4 kB / 454.2 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/0.2565, allocations: 160.8 kB / 454.4 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.2568, allocations: 87.83 kB / 454.5 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003246/0.2601, allocations: 2.432 MB / 456.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/0.2605, allocations: 71.66 kB / 457 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.2605, allocations: 28 kB / 457 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006248/0.2612, allocations: 365.3 kB / 457.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006866/0.2619, allocations: 450.9 kB / 457.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008319/0.2627, allocations: 0.5056 MB / 458.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.02e-06/0.2627, allocations: 4 kB / 458.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.001228/0.2639, allocations: 0.6852 MB / 459 MB, free: 11.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2639, allocations: 8 kB / 459 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2639, allocations: 4.531 kB / 459 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004462/0.2644, allocations: 164.1 kB / 459.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.2647, allocations: 83.84 kB / 459.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/0.2679, allocations: 2.415 MB / 461.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.2684, allocations: 67.7 kB / 461.7 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.2684, allocations: 31.98 kB / 461.8 MB, free: 8.418 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 (64): * Single equations (assignments): 63 * 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.0002515/0.2687, allocations: 232.1 kB / 462 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/0.2688, allocations: 63.66 kB / 462.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.2689, allocations: 73.33 kB / 462.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2689, allocations: 7.938 kB / 462.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.269, allocations: 3.984 kB / 462.1 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.2693, allocations: 111.4 kB / 462.3 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.623e-05/0.2693, allocations: 16 kB / 462.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.2697, allocations: 31.97 kB / 462.3 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.2698, allocations: 48.41 kB / 462.4 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001786/0.2716, allocations: 0.7464 MB / 463.1 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001628/0.2732, allocations: 0.9806 MB / 464.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004203/0.2736, allocations: 223.9 kB / 464.3 MB, free: 5.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003575/0.274, allocations: 299.1 kB / 464.6 MB, free: 5.574 MB / 366.1 MB Notification: Performance of Backend: time 5.11e-07/0.274, allocations: 7.938 kB / 464.6 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002276/0.2762, allocations: 1.107 MB / 465.7 MB, free: 4.43 MB / 366.1 MB Notification: Performance of SimCode: time 0.002302/0.2785, allocations: 1.718 MB / 467.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of Templates: time 0.02317/0.3017, allocations: 13.33 MB / 480.7 MB, free: 5.566 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.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.575784245003888]