Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_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.001329/0.001329, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001401/0.001401, allocations: 205.7 kB / 24.49 MB, free: 3.965 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 59.84 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2175, allocations: 53.37 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.005644/0.2232, allocations: 3.467 MB / 435.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.2256, allocations: 1.153 MB / 437 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.2258, allocations: 15.94 kB / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.226, allocations: 83.16 kB / 437.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.2264, allocations: 130.9 kB / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.2269, allocations: 243.6 kB / 437.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006994/0.2276, allocations: 0.6156 MB / 438.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003832/0.228, allocations: 212 kB / 438.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003384/0.2284, allocations: 243.1 kB / 438.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.2287, allocations: 250.8 kB / 438.8 MB, free: 316 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.511e-05/0.2288, allocations: 56 kB / 438.8 MB, free: 260 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.2289, allocations: 60 kB / 438.9 MB, free: 200 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.2291, allocations: 131.5 kB / 439 MB, free: 68 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000257/0.2293, allocations: 226.9 kB / 439.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007364/0.23, allocations: 0.6761 MB / 439.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.23, allocations: 0 / 439.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.23, allocations: 0 / 439.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.006e-06/0.2301, allocations: 0 / 439.9 MB, free: 15.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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001625/0.2317, allocations: 0.8869 MB / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2317, allocations: 8.031 kB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.2319, allocations: 72.55 kB / 440.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005943/0.2325, allocations: 347.2 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.2326, allocations: 37.36 kB / 441.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.048e-05/0.2327, allocations: 44.38 kB / 441.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009577/0.2336, allocations: 0.5598 MB / 441.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.2337, allocations: 7.922 kB / 441.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.2337, allocations: 16 kB / 441.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.2337, allocations: 8 kB / 441.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007262/0.2344, allocations: 351.8 kB / 442.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.237, allocations: 1.423 MB / 443.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/0.2376, allocations: 290.1 kB / 443.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.2379, allocations: 117.2 kB / 444.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.2379, allocations: 4.234 kB / 444.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005138/0.2384, allocations: 302.1 kB / 444.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/0.2384, allocations: 0 / 444.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001375/0.2398, allocations: 0.5062 MB / 444.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/0.2399, allocations: 140.4 kB / 445 MB, free: 9.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.2403, allocations: 332.4 kB / 445.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.2404, allocations: 41.7 kB / 445.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.2406, allocations: 248.5 kB / 445.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.2407, allocations: 103.2 kB / 445.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.2408, allocations: 98.06 kB / 445.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.241, allocations: 346.8 kB / 446.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.2413, allocations: 138.5 kB / 446.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.2417, allocations: 364.2 kB / 446.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006398/0.2424, allocations: 392.7 kB / 447 MB, free: 7.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2424, allocations: 7.938 kB / 447 MB, free: 7.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008577/0.2432, allocations: 466.3 kB / 447.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2432, allocations: 8 kB / 447.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.2432, allocations: 4 kB / 447.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.2435, allocations: 48.81 kB / 447.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.2437, allocations: 67.84 kB / 447.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.2452, allocations: 1.548 MB / 449.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.2455, allocations: 59.7 kB / 449.2 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.2456, allocations: 16 kB / 449.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003843/0.246, allocations: 264.9 kB / 449.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004056/0.2464, allocations: 352.2 kB / 449.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005458/0.2469, allocations: 368.3 kB / 450.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.2469, allocations: 0 / 450.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0007694/0.2477, allocations: 450.2 kB / 450.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2477, allocations: 8 kB / 450.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2477, allocations: 4 kB / 450.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001413/0.2478, allocations: 44.84 kB / 450.7 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.2481, allocations: 59.84 kB / 450.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.2495, allocations: 1.544 MB / 452.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.2498, allocations: 67.78 kB / 452.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.2498, allocations: 16 kB / 452.4 MB, free: 1.906 MB / 350.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: 21 (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,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.twoPulse.fire_n[1],pulse2.fire_p,idealthyristor.off,$PRE.idealthyristor.off,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001785/0.25, allocations: 218.8 kB / 452.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.2501, allocations: 35.77 kB / 452.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.399e-05/0.2502, allocations: 51.94 kB / 452.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2502, allocations: 0 / 452.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2502, allocations: 0 / 452.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.2503, allocations: 75.66 kB / 452.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.2504, allocations: 4 kB / 452.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.2506, allocations: 31.97 kB / 452.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.2507, allocations: 23.95 kB / 452.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001017/0.2517, allocations: 462.5 kB / 453.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001072/0.2528, allocations: 0.6826 MB / 453.9 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002753/0.2531, allocations: 139.9 kB / 454.1 MB, free: 168 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002596/0.2533, allocations: 227.1 kB / 454.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Backend: time 3.91e-07/0.2533, allocations: 3.938 kB / 454.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.2548, allocations: 0.7166 MB / 455 MB, free: 15.2 MB / 366.1 MB Notification: Performance of SimCode: time 0.001604/0.2564, allocations: 1.283 MB / 456.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Templates: time 0.01399/0.2703, allocations: 7.383 MB / 463.7 MB, free: 6.609 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R/Thyristor1Pulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_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.502804393996485]