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.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.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.001797/0.001797, allocations: 112.3 kB / 21.18 MB, free: 0.6289 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.002211/0.002211, allocations: 211 kB / 24.48 MB, free: 4.035 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.499/1.499, allocations: 230.4 MB / 258.1 MB, free: 8.164 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.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") [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.003057/0.003057, allocations: 59.84 kB / 378.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2236, allocations: 53.32 MB / 432.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic): time 0.005573/0.2291, allocations: 3.813 MB / 435.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.2314, allocations: 1.212 MB / 437.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.2317, allocations: 15.94 kB / 437.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.232, allocations: 83.16 kB / 437.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.2323, allocations: 130.9 kB / 437.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.2329, allocations: 243.5 kB / 437.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007086/0.2336, allocations: 0.6313 MB / 438.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.2339, allocations: 217.4 kB / 438.4 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.2343, allocations: 243.1 kB / 438.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.2346, allocations: 250.8 kB / 438.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.781e-05/0.2347, allocations: 56 kB / 439 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.2348, allocations: 64 kB / 439 MB, free: 456 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.235, allocations: 143.5 kB / 439.2 MB, free: 312 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.2352, allocations: 274.6 kB / 439.4 MB, free: 36 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00075/0.236, allocations: 0.681 MB / 440.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.236, allocations: 0 / 440.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.236, allocations: 0 / 440.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.236, allocations: 0 / 440.1 MB, free: 15.35 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00176/0.2377, allocations: 0.9894 MB / 441.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2378, allocations: 8.031 kB / 441.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.238, allocations: 72.55 kB / 441.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.2386, allocations: 405 kB / 441.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.2386, allocations: 37.38 kB / 441.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-05/0.2387, allocations: 48.38 kB / 441.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009416/0.2396, allocations: 0.5 MB / 442.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.2397, allocations: 11.94 kB / 442.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/0.2397, allocations: 19.98 kB / 442.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2397, allocations: 12 kB / 442.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009478/0.2407, allocations: 383.8 kB / 442.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.2434, allocations: 1.661 MB / 444.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.2444, allocations: 386.9 kB / 444.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.2447, allocations: 133.3 kB / 444.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.2448, allocations: 7.984 kB / 444.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005409/0.2453, allocations: 300 kB / 445.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.543e-06/0.2453, allocations: 3.938 kB / 445.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.001567/0.2469, allocations: 0.6166 MB / 445.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.525e-05/0.247, allocations: 144.5 kB / 445.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.2474, allocations: 345.6 kB / 446.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.2474, allocations: 37.69 kB / 446.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.2476, allocations: 256.5 kB / 446.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.2477, allocations: 107.2 kB / 446.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.2478, allocations: 82.12 kB / 446.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.248, allocations: 350.8 kB / 447 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.2484, allocations: 154.5 kB / 447.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.2488, allocations: 307 kB / 447.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007653/0.2496, allocations: 420.9 kB / 447.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.2496, allocations: 4 kB / 447.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009939/0.2506, allocations: 498.1 kB / 448.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2506, allocations: 10.81 kB / 448.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2506, allocations: 4 kB / 448.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.2508, allocations: 44.83 kB / 448.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.2511, allocations: 75.83 kB / 448.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.2527, allocations: 1.67 MB / 450.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.253, allocations: 75.69 kB / 450.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.253, allocations: 16 kB / 450.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004645/0.2535, allocations: 276.9 kB / 450.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004348/0.2539, allocations: 287.2 kB / 450.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006652/0.2546, allocations: 397.1 kB / 451.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.2546, allocations: 0 / 451.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008989/0.2555, allocations: 474.1 kB / 451.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.2555, allocations: 8 kB / 451.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2555, allocations: 7.984 kB / 451.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001299/0.2556, allocations: 48.83 kB / 451.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.2559, allocations: 72.2 kB / 451.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.2574, allocations: 1.667 MB / 453.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.2577, allocations: 59.75 kB / 453.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.2577, allocations: 20 kB / 453.5 MB, free: 1.082 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 (49): * Single equations (assignments): 48 * 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.0001843/0.2579, allocations: 230.8 kB / 453.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.258, allocations: 39.72 kB / 453.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.581e-05/0.2581, allocations: 48.12 kB / 453.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.2581, allocations: 11.92 kB / 453.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2581, allocations: 0 / 453.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.2583, allocations: 136.8 kB / 454 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/0.2583, allocations: 15.98 kB / 454 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.2586, allocations: 35.91 kB / 454 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.2587, allocations: 31.92 kB / 454 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001148/0.2598, allocations: 494.6 kB / 454.5 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001266/0.2611, allocations: 0.7325 MB / 455.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003683/0.2615, allocations: 159.9 kB / 455.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002553/0.2617, allocations: 235.2 kB / 455.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of Backend: time 3.31e-07/0.2617, allocations: 0 / 455.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.2632, allocations: 0.7551 MB / 456.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of SimCode: time 0.00156/0.2648, allocations: 1.296 MB / 457.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of Templates: time 0.01344/0.2782, allocations: 7.223 MB / 464.9 MB, free: 5.629 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R_Characteristic/Thyristor1Pulse_R_Characteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.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: 5.558135571889579]