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.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.001297/0.001297, 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.001388/0.001388, allocations: 212.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.399/1.399, allocations: 230.4 MB / 258.1 MB, free: 8.152 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,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-beta.om_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-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") [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.001912/0.001912, allocations: 59.84 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2117, allocations: 53.32 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.005415/0.2171, allocations: 3.779 MB / 435.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.219, allocations: 1.2 MB / 437.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.2192, allocations: 15.94 kB / 437.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.2195, allocations: 83.16 kB / 437.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.2198, allocations: 126.9 kB / 437.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.2203, allocations: 247.5 kB / 437.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006875/0.221, allocations: 0.6157 MB / 438.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.2213, allocations: 209 kB / 438.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.2217, allocations: 239.1 kB / 438.6 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.222, allocations: 242.9 kB / 438.8 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.309e-05/0.2221, allocations: 56 kB / 438.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.2222, allocations: 60 kB / 439 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.2223, allocations: 143.5 kB / 439.1 MB, free: 368 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.2226, allocations: 270.6 kB / 439.4 MB, free: 96 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007545/0.2233, allocations: 0.6692 MB / 440 MB, free: 15.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2233, allocations: 0 / 440 MB, free: 15.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2233, allocations: 0 / 440 MB, free: 15.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.2234, allocations: 0 / 440 MB, free: 15.42 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.001664/0.225, allocations: 0.97 MB / 441 MB, free: 14.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2251, allocations: 8.031 kB / 441 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.2253, allocations: 72.48 kB / 441.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.2259, allocations: 401 kB / 441.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.2259, allocations: 37.38 kB / 441.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/0.226, allocations: 44.33 kB / 441.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008694/0.2268, allocations: 0.4922 MB / 442 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.2269, allocations: 3.984 kB / 442 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/0.2269, allocations: 16 kB / 442.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2269, allocations: 12 kB / 442.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000726/0.2276, allocations: 355.8 kB / 442.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.2304, allocations: 1.658 MB / 444.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006063/0.231, allocations: 283.7 kB / 444.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.2312, allocations: 117.3 kB / 444.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.2313, allocations: 4.234 kB / 444.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004864/0.2317, allocations: 280.4 kB / 444.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.2317, allocations: 0 / 444.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0014/0.2331, allocations: 0.5815 MB / 445.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.814e-05/0.2332, allocations: 132.5 kB / 445.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.2336, allocations: 357.6 kB / 445.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.2337, allocations: 37.7 kB / 445.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.2339, allocations: 252.5 kB / 446.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.659e-05/0.234, allocations: 107.2 kB / 446.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.2341, allocations: 90.06 kB / 446.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.2343, allocations: 346.8 kB / 446.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.2346, allocations: 134.5 kB / 446.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.235, allocations: 291.1 kB / 447 MB, free: 8.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/0.2356, allocations: 392.4 kB / 447.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2356, allocations: 4 kB / 447.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008741/0.2365, allocations: 473.7 kB / 447.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2365, allocations: 8 kB / 447.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2365, allocations: 7.938 kB / 447.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.2367, allocations: 41.38 kB / 447.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.237, allocations: 75.83 kB / 448 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.2385, allocations: 1.67 MB / 449.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.2389, allocations: 55.7 kB / 449.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.2389, allocations: 20 kB / 449.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003823/0.2393, allocations: 264.9 kB / 450 MB, free: 4.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000364/0.2396, allocations: 279.2 kB / 450.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000552/0.2402, allocations: 368.2 kB / 450.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.218e-06/0.2402, allocations: 3.938 kB / 450.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0007487/0.2409, allocations: 442.4 kB / 451.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/0.2409, allocations: 4 kB / 451.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.241, allocations: 7.984 kB / 451.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.2411, allocations: 48.77 kB / 451.1 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.2413, allocations: 63.91 kB / 451.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.2428, allocations: 1.675 MB / 452.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.2432, allocations: 55.88 kB / 452.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.2432, allocations: 16 kB / 453 MB, free: 1.602 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.0001854/0.2434, allocations: 226.9 kB / 453.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.2435, allocations: 39.7 kB / 453.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.152e-05/0.2436, allocations: 44.06 kB / 453.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2436, allocations: 3.984 kB / 453.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2436, allocations: 0 / 453.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.2438, allocations: 144.8 kB / 453.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.2438, allocations: 11.98 kB / 453.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.2441, allocations: 27.97 kB / 453.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.2442, allocations: 23.97 kB / 453.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001011/0.2452, allocations: 474.5 kB / 453.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00107/0.2462, allocations: 0.6827 MB / 454.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002784/0.2465, allocations: 139.8 kB / 454.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002697/0.2468, allocations: 239.2 kB / 455 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Backend: time 3.5e-07/0.2468, allocations: 0 / 455 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.2482, allocations: 0.7205 MB / 455.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of SimCode: time 0.001633/0.2498, allocations: 1.289 MB / 457 MB, free: 13.43 MB / 366.1 MB Notification: Performance of Templates: time 0.01305/0.2629, allocations: 6.924 MB / 463.9 MB, free: 6.582 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.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_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/Thyristor1Pulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.276835344731808]