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.001561/0.001561, allocations: 110.9 kB / 18.45 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.001801/0.001801, allocations: 215.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.88 kB / 359.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2177, allocations: 50.54 MB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.004713/0.2224, allocations: 3.716 MB / 413.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.2243, allocations: 1.196 MB / 414.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.2245, allocations: 12 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.2247, allocations: 91.09 kB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.2251, allocations: 123 kB / 415.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.2255, allocations: 243.5 kB / 415.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005883/0.2261, allocations: 0.6197 MB / 416 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004078/0.2265, allocations: 299.4 kB / 416.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.2268, allocations: 239.1 kB / 416.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.2271, allocations: 250.8 kB / 416.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.569e-05/0.2272, allocations: 63.94 kB / 416.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.2273, allocations: 60 kB / 416.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.2275, allocations: 127.7 kB / 417 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.2277, allocations: 270.6 kB / 417.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006214/0.2283, allocations: 0.6691 MB / 417.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2283, allocations: 0 / 417.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2283, allocations: 4 kB / 417.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.2284, allocations: 0 / 417.9 MB, free: 9.574 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.001294/0.2297, allocations: 0.8426 MB / 418.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2297, allocations: 8.031 kB / 418.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.2299, allocations: 72.55 kB / 418.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.2304, allocations: 409 kB / 419.3 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.2304, allocations: 29.38 kB / 419.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.888e-05/0.2305, allocations: 52.33 kB / 419.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007779/0.2313, allocations: 0.4961 MB / 419.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2313, allocations: 0 / 419.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.2314, allocations: 16 kB / 419.9 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.2314, allocations: 12 kB / 419.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.2321, allocations: 351.8 kB / 420.2 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.2345, allocations: 1.65 MB / 421.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.235, allocations: 317.8 kB / 422.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.2353, allocations: 129.3 kB / 422.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.2353, allocations: 12.17 kB / 422.3 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004251/0.2358, allocations: 260.5 kB / 422.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.2358, allocations: 0 / 422.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.001211/0.237, allocations: 0.582 MB / 423.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.2371, allocations: 140.5 kB / 423.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.2374, allocations: 357.6 kB / 423.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.2375, allocations: 37.7 kB / 423.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.2376, allocations: 248.6 kB / 423.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.028e-05/0.2377, allocations: 107.1 kB / 424 MB, free: 3.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.2379, allocations: 82.12 kB / 424.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.238, allocations: 354.8 kB / 424.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.2383, allocations: 130.5 kB / 424.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.2386, allocations: 299 kB / 424.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005632/0.2392, allocations: 392 kB / 425.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2392, allocations: 0 / 425.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007726/0.24, allocations: 469.7 kB / 425.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.24, allocations: 12.52 kB / 425.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.24, allocations: 4 kB / 425.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.2402, allocations: 44.84 kB / 425.8 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.2405, allocations: 71.83 kB / 425.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.2419, allocations: 1.67 MB / 427.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.2422, allocations: 59.7 kB / 427.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.2422, allocations: 16 kB / 427.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003474/0.2426, allocations: 264.9 kB / 427.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003195/0.2429, allocations: 279.2 kB / 428.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004685/0.2434, allocations: 360.2 kB / 428.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.867e-06/0.2434, allocations: 3.938 kB / 428.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0007/0.2441, allocations: 441.8 kB / 428.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.2441, allocations: 11.94 kB / 428.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2441, allocations: 7.984 kB / 428.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.2443, allocations: 48.77 kB / 429 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.2445, allocations: 64.41 kB / 429 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.2457, allocations: 1.682 MB / 430.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.246, allocations: 47.81 kB / 430.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.246, allocations: 20 kB / 430.8 MB, free: 11.86 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.0001447/0.2462, allocations: 226.9 kB / 431 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.2462, allocations: 43.64 kB / 431 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.329e-05/0.2463, allocations: 48.12 kB / 431.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2463, allocations: 3.984 kB / 431.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2463, allocations: 0 / 431.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.2465, allocations: 140.8 kB / 431.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.2465, allocations: 8 kB / 431.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.2468, allocations: 35.89 kB / 431.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.2468, allocations: 23.97 kB / 431.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008861/0.2477, allocations: 461.4 kB / 431.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009073/0.2486, allocations: 0.6876 MB / 432.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002453/0.2489, allocations: 147.9 kB / 432.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.2491, allocations: 243.2 kB / 432.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of Backend: time 3.31e-07/0.2491, allocations: 0 / 432.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.2504, allocations: 0.7401 MB / 433.6 MB, free: 9 MB / 350.1 MB Notification: Performance of SimCode: time 0.001315/0.2517, allocations: 1.293 MB / 434.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of Templates: time 0.01143/0.2632, allocations: 6.701 MB / 441.5 MB, free: 1.031 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