Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 359.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2168, allocations: 50.54 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R): time 0.00583/0.2227, allocations: 4.915 MB / 414.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.225, allocations: 1.469 MB / 416.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.2253, allocations: 15.94 kB / 416.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.2256, allocations: 138.7 kB / 416.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.226, allocations: 194.3 kB / 416.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.2266, allocations: 331.4 kB / 417 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008447/0.2275, allocations: 0.9862 MB / 418 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006041/0.2281, allocations: 482 kB / 418.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.2285, allocations: 366.6 kB / 418.9 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.2289, allocations: 398.1 kB / 419.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.229, allocations: 92 kB / 419.3 MB, free: 8.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.2292, allocations: 100 kB / 419.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.2294, allocations: 195.4 kB / 419.6 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003542/0.2297, allocations: 429.9 kB / 420 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009125/0.2307, allocations: 1.076 MB / 421.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2307, allocations: 0 / 421.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2307, allocations: 0 / 421.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.2307, allocations: 0 / 421.1 MB, free: 6.402 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001758/0.2325, allocations: 1.103 MB / 422.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.2325, allocations: 8.031 kB / 422.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.2327, allocations: 95.89 kB / 422.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000712/0.2335, allocations: 0.5222 MB / 422.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.2335, allocations: 57.69 kB / 422.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/0.2336, allocations: 64.38 kB / 423 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.2348, allocations: 0.7422 MB / 423.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.2348, allocations: 0 / 423.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/0.2349, allocations: 32 kB / 423.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.2349, allocations: 16 kB / 423.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009992/0.2359, allocations: 0.5477 MB / 424.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.2394, allocations: 2.6 MB / 426.9 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009778/0.2403, allocations: 0.5742 MB / 427.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006231/0.241, allocations: 341 kB / 427.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.241, allocations: 8.438 kB / 427.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005956/0.2416, allocations: 377.7 kB / 428.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=59): time 1.974e-06/0.2416, allocations: 0 / 428.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.002777/0.2444, allocations: 1.117 MB / 429.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.2445, allocations: 141.1 kB / 429.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.245, allocations: 489.9 kB / 429.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/0.2451, allocations: 45.69 kB / 430 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.2453, allocations: 324.4 kB / 430.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.2455, allocations: 181.4 kB / 430.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.2457, allocations: 118.3 kB / 430.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2458, allocations: 378.8 kB / 430.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.2463, allocations: 215.3 kB / 431.2 MB, free: 12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/0.2468, allocations: 377.9 kB / 431.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008076/0.2476, allocations: 0.5378 MB / 432.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/0.2476, allocations: 11.94 kB / 432.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001187/0.2488, allocations: 0.7217 MB / 432.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2488, allocations: 8 kB / 432.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2488, allocations: 4 kB / 432.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004852/0.2493, allocations: 160.8 kB / 433 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.2497, allocations: 87.83 kB / 433 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/0.2526, allocations: 2.576 MB / 435.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.253, allocations: 71.45 kB / 435.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.253, allocations: 28 kB / 435.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005339/0.2536, allocations: 377.3 kB / 436.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004386/0.254, allocations: 365.8 kB / 436.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007056/0.2547, allocations: 0.5144 MB / 437 MB, free: 5.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.069e-06/0.2548, allocations: 7.984 kB / 437 MB, free: 5.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.001102/0.2559, allocations: 0.694 MB / 437.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.2559, allocations: 4 kB / 437.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2559, allocations: 4 kB / 437.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003962/0.2563, allocations: 161.3 kB / 437.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.2566, allocations: 83.83 kB / 437.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/0.2594, allocations: 2.583 MB / 440.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.2598, allocations: 71.61 kB / 440.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.2598, allocations: 23.94 kB / 440.6 MB, free: 2.008 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: 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,pulse2.fire_n,pulse2.fire_p,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,rectifier.thyristor_n2.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.off,rectifier.andCondition_n.y,rectifier.andCondition_p.y,$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.0002034/0.26, allocations: 244 kB / 440.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-05/0.2601, allocations: 59.25 kB / 440.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.2603, allocations: 77.59 kB / 441 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.2603, allocations: 0 / 441 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2603, allocations: 0 / 441 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.2605, allocations: 192.2 kB / 441.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/0.2606, allocations: 15.94 kB / 441.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.261, allocations: 31.97 kB / 441.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.2611, allocations: 56.56 kB / 441.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0016/0.2627, allocations: 0.7442 MB / 442 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001404/0.2642, allocations: 0.9821 MB / 443 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003838/0.2645, allocations: 248.3 kB / 443.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003451/0.2649, allocations: 342.8 kB / 443.6 MB, free: 15 MB / 366.1 MB Notification: Performance of Backend: time 5.01e-07/0.2649, allocations: 0 / 443.6 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001986/0.2669, allocations: 1.163 MB / 444.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of SimCode: time 0.001987/0.2689, allocations: 1.708 MB / 446.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Templates: time 0.01907/0.288, allocations: 12.67 MB / 459.1 MB, free: 15.55 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches