Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=1000,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001177/0.001177, allocations: 111.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 55.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2326, allocations: 50.56 MB / 410 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.004759/0.2374, allocations: 3.721 MB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.2394, allocations: 1.184 MB / 414.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002748/0.2397, allocations: 15.94 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.2399, allocations: 83.17 kB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.2403, allocations: 126.9 kB / 415.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.2408, allocations: 231.6 kB / 415.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005713/0.2414, allocations: 0.6197 MB / 416 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004291/0.2418, allocations: 307.4 kB / 416.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.2421, allocations: 239.1 kB / 416.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.2424, allocations: 250.8 kB / 416.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.295e-05/0.2425, allocations: 56 kB / 416.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.2426, allocations: 60 kB / 416.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.2428, allocations: 127.6 kB / 417 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.243, allocations: 278.6 kB / 417.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.2436, allocations: 0.6667 MB / 417.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2436, allocations: 7.922 kB / 417.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.2436, allocations: 0 / 417.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.2437, allocations: 7.938 kB / 417.9 MB, free: 9.566 MB / 334.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.001324/0.245, allocations: 0.8158 MB / 418.8 MB, free: 8.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.245, allocations: 20.02 kB / 418.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.2452, allocations: 60.28 kB / 418.8 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.2458, allocations: 404.7 kB / 419.2 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.2458, allocations: 37.38 kB / 419.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.717e-05/0.2459, allocations: 44.38 kB / 419.3 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007792/0.2467, allocations: 0.4923 MB / 419.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2467, allocations: 0 / 419.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.2468, allocations: 16 kB / 419.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2468, allocations: 8 kB / 419.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.2474, allocations: 359.7 kB / 420.2 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.2498, allocations: 1.645 MB / 421.8 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.2504, allocations: 317.5 kB / 422.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.2507, allocations: 133.2 kB / 422.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.2507, allocations: 8.219 kB / 422.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004202/0.2511, allocations: 260.5 kB / 422.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.2511, allocations: 0 / 422.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.001224/0.2524, allocations: 0.5857 MB / 423.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.2525, allocations: 136.5 kB / 423.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.2528, allocations: 349.6 kB / 423.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.2528, allocations: 37.7 kB / 423.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.253, allocations: 248 kB / 423.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.825e-05/0.2531, allocations: 102.6 kB / 424 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.2532, allocations: 86.12 kB / 424 MB, free: 3.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2534, allocations: 346.8 kB / 424.4 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.2536, allocations: 142.5 kB / 424.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.254, allocations: 287.1 kB / 424.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.2545, allocations: 388 kB / 425.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2545, allocations: 8 kB / 425.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007705/0.2553, allocations: 470 kB / 425.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2553, allocations: 8 kB / 425.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2554, allocations: 4 kB / 425.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.2556, allocations: 44.84 kB / 425.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.2558, allocations: 71.83 kB / 425.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.2572, allocations: 1.674 MB / 427.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.2575, allocations: 63.56 kB / 427.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.2575, allocations: 20 kB / 427.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003492/0.2579, allocations: 260.9 kB / 427.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003214/0.2582, allocations: 275.1 kB / 428.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004918/0.2587, allocations: 364.2 kB / 428.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.973e-06/0.2587, allocations: 7.938 kB / 428.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0007078/0.2594, allocations: 437.6 kB / 428.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2595, allocations: 8 kB / 428.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.2595, allocations: 4.531 kB / 428.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.2596, allocations: 52.83 kB / 428.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.2598, allocations: 59.84 kB / 429 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.2611, allocations: 1.674 MB / 430.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.2614, allocations: 55.66 kB / 430.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.2615, allocations: 16 kB / 430.7 MB, free: 11.91 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,idealthyristor.off,$PRE.idealthyristor.off,pulse2.fire_p,pulse2.twoPulse.fire_n[1],pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$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.0001613/0.2616, allocations: 238.8 kB / 430.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.2617, allocations: 39.56 kB / 431 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.177e-05/0.2618, allocations: 40.06 kB / 431 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2618, allocations: 3.984 kB / 431 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2618, allocations: 0 / 431 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.262, allocations: 144.5 kB / 431.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.262, allocations: 7.984 kB / 431.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.2623, allocations: 27.97 kB / 431.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.2624, allocations: 27.97 kB / 431.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009343/0.2633, allocations: 465.3 kB / 431.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009296/0.2642, allocations: 0.6797 MB / 432.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002515/0.2645, allocations: 139.9 kB / 432.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002301/0.2647, allocations: 243.2 kB / 432.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of Backend: time 5.61e-07/0.2648, allocations: 4 kB / 432.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.2661, allocations: 0.7529 MB / 433.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of SimCode: time 0.001401/0.2675, allocations: 1.268 MB / 434.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of Templates: time 0.01196/0.2795, allocations: 6.689 MB / 441.5 MB, free: 1.117 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R/Thyristor1Pulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches